C# Class SmashBros.Models.MenuEntry

显示文件 Open project: Grutn/TDT4240-X2 Class Usage Examples

Public Properties

Property Type Description
action Action
bgImg Microsoft.Xna.Framework.Graphics.Texture2D
bgOffset Vector2
boundBox FarseerPhysics.Dynamics.Body
color Color
entryIndex int
scale float
selected bool
selectedColor Color
selectedScale float
text String
textSize Vector2

Public Methods

Method Description
MenuEntry ( string text, Action action ) : System

Method Details

MenuEntry() public method

public MenuEntry ( string text, Action action ) : System
text string
action Action
return System

Property Details

action public_oe property

public Action action
return Action

bgImg public_oe property

public Texture2D,Microsoft.Xna.Framework.Graphics bgImg
return Microsoft.Xna.Framework.Graphics.Texture2D

bgOffset public_oe property

public Vector2 bgOffset
return Vector2

boundBox public_oe property

public Body,FarseerPhysics.Dynamics boundBox
return FarseerPhysics.Dynamics.Body

color public_oe property

public Color color
return Color

entryIndex public_oe property

public int entryIndex
return int

scale public_oe property

public float scale
return float

selected public_oe property

public bool selected
return bool

selectedColor public_oe property

public Color selectedColor
return Color

selectedScale public_oe property

public float selectedScale
return float

text public_oe property

public String text
return String

textSize public_oe property

public Vector2 textSize
return Vector2