C# 클래스 Divine_Right.InterfaceComponents.Components.ViewTileTextComponent

A component which shows some text describing a tile
상속: IGameInterfaceComponent
파일 보기 프로젝트 열기: Haedrian/Divine-Right

보호된 프로퍼티들

프로퍼티 타입 설명
componentRectangle Microsoft.Xna.Framework.Rectangle
locationX int
locationY int
text string
visible bool

공개 메소드들

메소드 설명
HandleKeyboard ( Microsoft keyboard, DRObjects &actionType, object &args, DRObjects &coord, bool &destroy ) : bool
HandleMouseOver ( int x, int y ) : void
IsModal ( ) : bool
PerformDrag ( int x, int y ) : void
ViewTileTextComponent ( int x, int y, string displayText ) : System

Creates a tile text component displaying particular text

보호된 메소드들

메소드 설명
IGameInterfaceComponent ( Microsoft.Xna.Framework.Content.ContentManager content, SpriteBatch batch ) : void

비공개 메소드들

메소드 설명
IGameInterfaceComponent ( ) : Rectangle
IGameInterfaceComponent ( int x, int y, MouseActionEnum mouse, DRObjects &actionType, InternalActionEnum &internalActionType, object &args, MapItem &itm, DRObjects &coord, bool &destroy ) : bool

메소드 상세

HandleKeyboard() 공개 메소드

public HandleKeyboard ( Microsoft keyboard, DRObjects &actionType, object &args, DRObjects &coord, bool &destroy ) : bool
keyboard Microsoft
actionType DRObjects
args object
coord DRObjects
destroy bool
리턴 bool

HandleMouseOver() 공개 메소드

public HandleMouseOver ( int x, int y ) : void
x int
y int
리턴 void

IGameInterfaceComponent() 보호된 메소드

protected IGameInterfaceComponent ( Microsoft.Xna.Framework.Content.ContentManager content, SpriteBatch batch ) : void
content Microsoft.Xna.Framework.Content.ContentManager
batch Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

IsModal() 공개 메소드

public IsModal ( ) : bool
리턴 bool

PerformDrag() 공개 메소드

public PerformDrag ( int x, int y ) : void
x int
y int
리턴 void

ViewTileTextComponent() 공개 메소드

Creates a tile text component displaying particular text
public ViewTileTextComponent ( int x, int y, string displayText ) : System
x int
y int
displayText string
리턴 System

프로퍼티 상세

componentRectangle 보호되어 있는 프로퍼티

protected Rectangle,Microsoft.Xna.Framework componentRectangle
리턴 Microsoft.Xna.Framework.Rectangle

locationX 보호되어 있는 프로퍼티

protected int locationX
리턴 int

locationY 보호되어 있는 프로퍼티

protected int locationY
리턴 int

text 보호되어 있는 프로퍼티

protected string text
리턴 string

visible 보호되어 있는 프로퍼티

protected bool visible
리턴 bool