C# 클래스 TiaraFramework.Component.Button

상속: ASprite
파일 보기 프로젝트 열기: TiaraGames/TiaraFramework 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
isEnabled bool
nowButton Sprite
spMoveOff Sprite
spMoveOn Sprite
spPressed Sprite
spPressing Sprite

공개 메소드들

메소드 설명
Button ( Sprite offMouse, Sprite onMouse, Sprite onPush, Sprite offPush, Microsoft.Xna.Framework.Game game ) : System
SimpleButton ( Vector2 position, Microsoft.Xna.Framework.Graphics.Texture2D texture, float depth, Microsoft.Xna.Framework.Game game ) : Button
Update ( GameTime gameTime ) : void
mouseDetection ( GameTime gameTime ) : void

메소드 상세

Button() 공개 메소드

public Button ( Sprite offMouse, Sprite onMouse, Sprite onPush, Sprite offPush, Microsoft.Xna.Framework.Game game ) : System
offMouse Sprite
onMouse Sprite
onPush Sprite
offPush Sprite
game Microsoft.Xna.Framework.Game
리턴 System

SimpleButton() 공개 정적인 메소드

public static SimpleButton ( Vector2 position, Microsoft.Xna.Framework.Graphics.Texture2D texture, float depth, Microsoft.Xna.Framework.Game game ) : Button
position Vector2
texture Microsoft.Xna.Framework.Graphics.Texture2D
depth float
game Microsoft.Xna.Framework.Game
리턴 Button

Update() 공개 메소드

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

mouseDetection() 공개 메소드

public mouseDetection ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

프로퍼티 상세

isEnabled 공개적으로 프로퍼티

public bool isEnabled
리턴 bool

nowButton 공개적으로 프로퍼티

public Sprite nowButton
리턴 Sprite

spMoveOff 공개적으로 프로퍼티

public Sprite spMoveOff
리턴 Sprite

spMoveOn 공개적으로 프로퍼티

public Sprite spMoveOn
리턴 Sprite

spPressed 공개적으로 프로퍼티

public Sprite spPressed
리턴 Sprite

spPressing 공개적으로 프로퍼티

public Sprite spPressing
리턴 Sprite