for merge to main

This commit is contained in:
bmvolf 2023-08-17 13:21:12 +03:00
parent 412239498e
commit 594da62dfa

View file

@ -21,12 +21,12 @@ namespace DangerousD.GameCore.GameObjects.LivingEntities.Monsters
PhysicsManager physicsManager; PhysicsManager physicsManager;
public Zombie(Vector2 position) : base(position) public Zombie(Vector2 position) : base(position)
{ {
Width = 48; Width = 24;
Height = 80; Height = 40;
monster_speed = 3; monster_speed = 3;
name = "Zombie"; name = "Zombie";
leftBorder = (int)position.X - 60; leftBorder = (int)position.X - 100;
rightBorder = (int)position.X + 120; rightBorder = (int)position.X + 100;
physicsManager = new PhysicsManager(); physicsManager = new PhysicsManager();
} }
protected override GraphicsComponent GraphicsComponent { get; } = new(new List<string> { "ZombieMoveRight", "ZombieMoveLeft", "ZombieRightAttack", "ZombieLeftAttack" }, "ZombieMoveLeft"); protected override GraphicsComponent GraphicsComponent { get; } = new(new List<string> { "ZombieMoveRight", "ZombieMoveLeft", "ZombieRightAttack", "ZombieLeftAttack" }, "ZombieMoveLeft");