public Zombie(Pause pause) { drop = true; pause.Attach(this); this.Pause = pause; IsPaused = pause.GetState(); }
public ZombieMaker(IDifficulty difficulty, Pause pause) { this.difficulty = difficulty; pause.Attach(this); this.Pause = pause; IsPaused = pause.GetState(); GameTime = 1; }
public PushTracker(Pause pause) { lock (GameData.PlayerStunnedAccess) { GameData.Player.IsStunned = true; } pause.Attach(this); this.Pause = pause; IsPaused = pause.GetState(); }
public Bullet(Position playerPosition, Direction direction, Model model, int range, Pause pause) { isDone = false; clearPrevious = false; bulletPosition = new Position(playerPosition); this.direction = direction; bulletModel = model; this.range = range; pause.Attach(this); this.Pause = pause; IsPaused = pause.GetState(); }
public DropTracker(Pause pause) { pause.Attach(this); this.Pause = pause; IsPaused = pause.GetState(); }
public Mechanics(Pause pause) { pause.Attach(this); this.Pause = pause; IsPaused = pause.GetState(); }
public PlayerStatusTracker(Pause pause) { pause.Attach(this); this.Pause = pause; this.IsPaused = pause.GetState(); }