for merge to main
This commit is contained in:
parent
412239498e
commit
594da62dfa
1 changed files with 4 additions and 4 deletions
|
@ -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");
|
||||||
|
|
Loading…
Add table
Reference in a new issue