public MoveBlock(StopBlock stopBlock) { this.stopBlock = stopBlock; position = new Vector2(0, 0); rand = new Random(); tablePosition = new Vector2(); // 停止ブロック上の位置 }
public GamePlay() { stage = new Stage(); score = new Score(); stopBlock = new StopBlock(score); //停止 cursor = new Cursor(stopBlock); moveBlock = new MoveBlock(stopBlock); //移動ブロック }
public Cursor(StopBlock stopBlock) { this.stopBlock = stopBlock; position = new Vector2(); tablePosition = new Vector2(); }