예제 #1
0
 public TextureFrameStore AddTextureFrame(string key, TextureFrame textureFrame)
 {
     TextureFrames[key] = textureFrame;
     return(this);
 }
예제 #2
0
 public Sprite(TextureFrame frame)
 {
     Frame = frame;
 }
예제 #3
0
 public TextureFrame(TextureFrame textureFrame)
     : this(textureFrame.Texture, textureFrame.Rectangle)
 {
 }
예제 #4
0
 public virtual ISprite SetFrame(TextureFrame frame)
 {
     Frame = frame;
     return(this);
 }