示例#1
0
 public PlayButton(Vector2 position, Menu menuController)
     : this("playbutton", new Rectangle((int)position.X, (int)position.Y, 180, 75) , new Rectangle(0, 0, 180, 75), new Color(255, 255, 255, 1f), 0, Vector2.Zero, SpriteEffects.None, 0.5f, menuController)
 {
 }
示例#2
0
 public PlayButton(String artName, Rectangle destinationRectangle, Rectangle sourceRectangle, Color color, float rotation,
     Vector2 origin, SpriteEffects effects, float layerDepth, Menu menuController)
     : base(artName, destinationRectangle, sourceRectangle, color, rotation, origin, effects, layerDepth, menuController)
 {
 }