コード例 #1
0
ファイル: Gel.cs プロジェクト: sweeneyde/3902-zelda-game
 public void Draw(SpriteBatch spriteBatch)
 {
     currentState.Draw(spriteBatch, xPos, yPos);
 }
コード例 #2
0
ファイル: Bat.cs プロジェクト: sweeneyde/3902-zelda-game
 public void Draw(SpriteBatch spriteBatch)
 {
     currentState.Draw(spriteBatch, xPos, yPos);
     hitbox = new Rectangle((int)xPos, (int)yPos, hitboxX, hitboxY);
 }