Свойство | Тип | Описание | |
---|---|---|---|
contextMenuItems | List |
||
coordinate | MapCoordinate | ||
drawRectangle |
Метод | Описание | |
---|---|---|
AddContextMenuItem ( ActionType action, object args, Microsoft.Xna.Framework.Content.ContentManager content ) : void |
Adds a new Context Menu Item to the list from an actiontype and arguments
|
|
ContextMenuComponent ( int x, int y, MapCoordinate coordinate ) : System |
Creates a new Context Menu starting at x,y
|
|
Draw ( Microsoft.Xna.Framework.Content.ContentManager content, |
||
HandleClick ( int x, int y, MouseActionEnum mouseAction, ActionType &actionType, InternalActionEnum &internalActionType, object &args, |
||
HandleKeyboard ( Microsoft keyboard, ActionType &actionType, object &args, MapCoordinate &coord, bool &destroy ) : bool | ||
HandleMouseOver ( int x, int y ) : void | ||
IsModal ( ) : bool | ||
PerformDrag ( int x, int y ) : void | ||
ReturnLocation ( ) : |
public AddContextMenuItem ( ActionType action, object args, Microsoft.Xna.Framework.Content.ContentManager content ) : void | ||
action | ActionType | |
args | object | |
content | Microsoft.Xna.Framework.Content.ContentManager | |
Результат | void |
public ContextMenuComponent ( int x, int y, MapCoordinate coordinate ) : System | ||
x | int | |
y | int | |
coordinate | MapCoordinate | |
Результат | System |
public Draw ( Microsoft.Xna.Framework.Content.ContentManager content, |
||
content | Microsoft.Xna.Framework.Content.ContentManager | |
batch | ||
Результат | void |
public HandleClick ( int x, int y, MouseActionEnum mouseAction, ActionType &actionType, InternalActionEnum &internalActionType, object &args, |
||
x | int | |
y | int | |
mouseAction | MouseActionEnum | |
actionType | ActionType | |
internalActionType | InternalActionEnum | |
args | object | |
itm | ||
coord | MapCoordinate | |
destroy | bool | |
Результат | bool |
public HandleKeyboard ( Microsoft keyboard, ActionType &actionType, object &args, MapCoordinate &coord, bool &destroy ) : bool | ||
keyboard | Microsoft | |
actionType | ActionType | |
args | object | |
coord | MapCoordinate | |
destroy | bool | |
Результат | bool |
public HandleMouseOver ( int x, int y ) : void | ||
x | int | |
y | int | |
Результат | void |
public ReturnLocation ( ) : |
||
Результат |