コード例 #1
0
ファイル: DyePack.cs プロジェクト: kunlakan/LearningGames
 public override void update()
 {
     if (box.Collided(hero.getPosition()) && box.Visible)
     {
         hero.collect(this);
     }
 }