This commit is contained in:
SergoDobro 2024-08-19 01:43:34 +03:00
parent ec275c7584
commit a1d209ba37
2 changed files with 3 additions and 1 deletions

View file

@ -17,7 +17,7 @@ namespace ZoFo.GameCore.GameObjects.Entities.LivingEntities.Enemies
health = 5; health = 5;
speed = 2; speed = 2;
graphicsComponent.ObjectDrawRectangle = new Rectangle(0, 0, 30, 30); graphicsComponent.ObjectDrawRectangle = new Rectangle(0, 0, 30, 30);
collisionComponent.stopRectangle = new Rectangle(0, 10, 30, 20); collisionComponent.stopRectangle = new Rectangle(10, 20, 10, 10);
} }
public override void Update() public override void Update()

View file

@ -141,6 +141,8 @@ namespace ZoFo.GameCore
AppManager.Instance.server.RegisterGameObject(new Zombie(new Vector2(1300, 1000))); AppManager.Instance.server.RegisterGameObject(new Zombie(new Vector2(1300, 1000)));
AppManager.Instance.server.RegisterGameObject(new Zombie(new Vector2(1500, 1000))); AppManager.Instance.server.RegisterGameObject(new Zombie(new Vector2(1500, 1000)));
AppManager.Instance.server.RegisterGameObject(new Zombie(new Vector2(1700, 1000))); AppManager.Instance.server.RegisterGameObject(new Zombie(new Vector2(1700, 1000)));
AppManager.Instance.server.RegisterGameObject(new Zombie(new Vector2(1900, 1000)));
AppManager.Instance.server.RegisterGameObject(new Zombie(new Vector2(2100, 1000)));
AppManager.Instance.server.RegisterGameObject(new Ammo(new Vector2(140, 440))); AppManager.Instance.server.RegisterGameObject(new Ammo(new Vector2(140, 440)));
AppManager.Instance.server.RegisterGameObject(new Ammo(new Vector2(240, 440))); AppManager.Instance.server.RegisterGameObject(new Ammo(new Vector2(240, 440)));
} }