コード例 #1
0
ファイル: Tile.cs プロジェクト: blind2/PokemonClone
 public void Draw(SpriteBatch spriteBatch, TextureRegion textureRegion)
 {
     textureRegion.Draw(spriteBatch, position, index);
 }
コード例 #2
0
ファイル: Animation.cs プロジェクト: blind2/PokemonClone
 public Animation(TextureRegion textureRegion)
 {
     this.textureRegion = textureRegion;
 }
コード例 #3
0
 public Layer(TextureRegion textureRegion)
 {
     this.textureRegion = textureRegion;
     tileList           = new List <Tile>();
 }