Beispiel #1
0
 public XnaMenuItem(int id, Rectangle boundingBox, Texture2D texture, Handlers.voidEH del)
     : this(id, boundingBox, texture, Color.White, String.Empty, Color.White, del)
 {
 }
Beispiel #2
0
 public XnaMenuItem(int id, Rectangle boundingBox, string text, Handlers.voidEH del)
     : this(id, boundingBox, null, Color.White, text, Color.White, del)
 {
 }
Beispiel #3
0
 public XnaMenuItem(int id, Rectangle boundingBox, Texture2D texture, Color textureColor, string text, Color textColor, Handlers.voidEH del)
     : base(id.ToString(), boundingBox, texture, textureColor, text, textColor)
 {
     Callback = del;
 }