FarseerPhysics.Samples.ScreenSystem.MenuEntry.MenuEntry C# (CSharp) Method

MenuEntry() public method

Constructs a new menu entry with the specified text.
public MenuEntry ( MenuScreen menu, string text, EntryType type, GameScreen screen ) : System
menu MenuScreen
text string
type EntryType
screen GameScreen
return System
        public MenuEntry(MenuScreen menu, string text, EntryType type, GameScreen screen)
        {
            Text = text;
            Screen = screen;
            _type = type;
            _menu = menu;
            _scale = 0.9f;
            Alpha = 1.0f;
        }

Same methods

MenuEntry::MenuEntry ( string text, PhysicsDemoScreen screen, Microsoft.Xna.Framework.Graphics.Texture2D preview ) : System