private bool isPlayerGoal; //終了フラグ public Goal(Kaito kaito) { this.kaito = kaito; goal = new Rectangle(641, 751, 64, 64); //まだプレイヤーがゴールしていないことにする isPlayerGoal = false; }
private bool isPlayerGoal; //終了フラグ //private Renderer renderer; //private Motion motion; //private GamePlay gamePlay; /// <summary> /// コンストラクタ /// </summary> public SearchLight(IGameMediator mediator, AI ai, Kaito kaito) : base("searchlight", mediator) { this.ai = ai; this.kaito = kaito; state = State.Preparation; int x = (int)position.X; int y = (int)position.Y; int width = 96; int height = 96; searchrect = new Rectangle(x, y, width, height); timer = new CountDownTimer(0.25f); isPlayerGoal = false; }
public Stage(Kaito kaito) { this.kaito = kaito; wallList = new List <Rectangle>(); Add(); }