示例#1
0
 public TextBox(string text, SpriteFont font, Texture2D texture, Color color, Align align, Vector2 bounding, float rotation, float scale, Vector2 origin, int frameCount, Vector2 shadowOffset, Color shadowColor)
 {
     _SpriteSheet = SpriteSheet(texture, color, align, bounding, rotation, scale, origin, frameCount, shadowOffset, shadowColor);
     _Label       = Label(text, color, align, font, bounding, shadowOffset, shadowColor);
     FrameIndex   = 0;
 }
示例#2
0
 private SpriteSheet(SpriteSheet @this, int frameIndex) : this(@this.Texture, @this.Color, @this.Align, @this.Bounding, @this.Rotation, @this.Scale, @this.Origin, @this.FrameCount, frameIndex, @this.ShadowOffset, @this.ShadowColor)
 {
 }