コード例 #1
0
ファイル: Sprite.cs プロジェクト: Joakim432710/OsuTK
 protected Sprite(Texture texture, Vector2 position, Vector2 size)
 {
     Texture = texture;
     Position = position;
     Size = size;
 }
コード例 #2
0
ファイル: Sprite.cs プロジェクト: Joakim432710/OsuTK
 public Sprite(string sprite, Vector2 position)
 {
     Texture = new Texture(sprite);
     Position = position;
     Size = Texture.Size;
 }