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

Наследование: IGameInterfaceComponent
Показать файл Открыть проект

Открытые методы

Метод Описание
DecisionPopupComponent ( int locationX, int locationY, GameEvent gameEvent ) : System

Creates a Decision Popup Component from a game event

DecisionPopupComponent ( int locationX, int locationY, string title, string text, SpriteData image, DecisionPopupChoice decisions ) : System
Draw ( Microsoft content, Microsoft batch ) : void
HandleClick ( int x, int y, System.Objects mouseAction, DRObjects &actionType, InternalActionEnum &internalActionType, object &args, MapItem &item, DRObjects &coord, bool &destroy ) : bool
HandleKeyboard ( Microsoft keyboard, DRObjects &actionType, object &args, DRObjects &coord, bool &destroy ) : bool
HandleMouseOver ( int x, int y ) : void
IsModal ( ) : bool
PerformDrag ( int deltaX, int deltaY ) : void
ReturnLocation ( ) : Rectangle

Описание методов

DecisionPopupComponent() публичный Метод

Creates a Decision Popup Component from a game event
public DecisionPopupComponent ( int locationX, int locationY, GameEvent gameEvent ) : System
locationX int
locationY int
gameEvent DRObjects.EventHandling.GameEvent
Результат System

DecisionPopupComponent() публичный Метод

public DecisionPopupComponent ( int locationX, int locationY, string title, string text, SpriteData image, DecisionPopupChoice decisions ) : System
locationX int
locationY int
title string
text string
image DRObjects.Graphics.SpriteData
decisions Divine_Right.InterfaceComponents.Objects.DecisionPopupChoice
Результат System

Draw() публичный Метод

public Draw ( Microsoft content, Microsoft batch ) : void
content Microsoft
batch Microsoft
Результат void

HandleClick() публичный Метод

public HandleClick ( int x, int y, System.Objects mouseAction, DRObjects &actionType, InternalActionEnum &internalActionType, object &args, MapItem &item, DRObjects &coord, bool &destroy ) : bool
x int
y int
mouseAction System.Objects
actionType DRObjects
internalActionType InternalActionEnum
args object
item DRObjects.MapItem
coord DRObjects
destroy bool
Результат 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

IsModal() публичный Метод

public IsModal ( ) : bool
Результат bool

PerformDrag() публичный Метод

public PerformDrag ( int deltaX, int deltaY ) : void
deltaX int
deltaY int
Результат void

ReturnLocation() публичный Метод

public ReturnLocation ( ) : Rectangle
Результат Microsoft.Xna.Framework.Rectangle