public ClusterAIBrains(HvZWorld hvzWorld) { this.m_HvZWorld = hvzWorld; this.m_Shoot = new Vector2(); this.m_Walk = new Vector2(); this.m_Ready = false; this.m_Attacking = false; }
/// <summary> /// Constructs a new Entity. /// </summary> /// <param name="hvzWorld">World the Entity occupies.</param> /// <param name="position">Position of the Entity, in pixels.</param> /// <param name="rotation">Rotation of the Entity, in radians (right-hand).</param> /// <param name="radius">Size of the Entity, in pixels.</param> public Entity(HvZWorld hvzWorld, Vector2 position, Vector2 rotation, float radius) { this.m_HvZWorld = hvzWorld; this.SetPosition(position); this.SetRotation(rotation); this.SetRadius(radius); this.SetDead(false); m_ID = s_ID++; }
public HvZScreen() { GameWorld.audio.SongPlay("theme"); this.zombieWorld = new HvZWorld(); }
public DodgeAIBrains(HvZWorld hvzWorld) : base(hvzWorld) { m_HvZWorld = hvzWorld; }
public HumanBrains(HvZWorld hvzWorld) { this.m_HvZWorld = hvzWorld; this.m_Shoot = new Vector2(); this.m_Walk = new Vector2(); }
public SimpleAIBrains(HvZWorld hvzWorld) { this.m_HvZWorld = hvzWorld; this.m_Shoot = new Vector2(); this.m_Walk = new Vector2(); }