C# 클래스 SmashBros.Models.MenuEntry

파일 보기 프로젝트 열기: Grutn/TDT4240-X2 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
MenuEntry ( string text, Action action ) : System

메소드 상세

MenuEntry() 공개 메소드

public MenuEntry ( string text, Action action ) : System
text string
action Action
리턴 System

프로퍼티 상세

action 공개적으로 프로퍼티

public Action action
리턴 Action

bgImg 공개적으로 프로퍼티

public Texture2D,Microsoft.Xna.Framework.Graphics bgImg
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

bgOffset 공개적으로 프로퍼티

public Vector2 bgOffset
리턴 Vector2

boundBox 공개적으로 프로퍼티

public Body,FarseerPhysics.Dynamics boundBox
리턴 FarseerPhysics.Dynamics.Body

color 공개적으로 프로퍼티

public Color color
리턴 Color

entryIndex 공개적으로 프로퍼티

public int entryIndex
리턴 int

scale 공개적으로 프로퍼티

public float scale
리턴 float

selected 공개적으로 프로퍼티

public bool selected
리턴 bool

selectedColor 공개적으로 프로퍼티

public Color selectedColor
리턴 Color

selectedScale 공개적으로 프로퍼티

public float selectedScale
리턴 float

text 공개적으로 프로퍼티

public String text
리턴 String

textSize 공개적으로 프로퍼티

public Vector2 textSize
리턴 Vector2