C# Класс Divine_Right.InterfaceComponents.Components.ViewTileTextComponent

A component which shows some text describing a tile
Наследование: IGameInterfaceComponent
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
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