Property | Type | Description | |
---|---|---|---|
locationX | int | ||
locationY | int |
Method | Description | |
---|---|---|
Draw ( Microsoft content, Microsoft batch ) : void | ||
HandleClick ( int x, int y, System.Objects mouseAction, DRObjects &actionType, InternalActionEnum &internalActionType, object &args, |
||
HandleKeyboard ( Microsoft keyboard, DRObjects &actionType, object &args, DRObjects &coord, bool &destroy ) : bool | ||
HandleMouseOver ( int x, int y ) : void | ||
HealthDisplayComponent ( int locationX, int locationY, |
Creates a new HealthDisplayComponent for a particular actor at a particular position
|
|
IsModal ( ) : bool | ||
PerformDrag ( int x, int y ) : void | ||
ReturnLocation ( ) : |
Method | Description | |
---|---|---|
GetBadEffectColours ( int amount, int max ) : Color |
Gets the right colour to draw depending on how bad it is
|
|
GetColour ( int health, int maxHealth ) : Color |
Gets the right colour to draw depending on the health
|
public Draw ( Microsoft content, Microsoft batch ) : void | ||
content | Microsoft | |
batch | Microsoft | |
return | void |
public HandleClick ( int x, int y, System.Objects mouseAction, DRObjects &actionType, InternalActionEnum &internalActionType, object &args, |
||
x | int | |
y | int | |
mouseAction | System.Objects | |
actionType | DRObjects | |
internalActionType | InternalActionEnum | |
args | object | |
item | ||
coord | DRObjects | |
destroy | bool | |
return | bool |
public HandleKeyboard ( Microsoft keyboard, DRObjects &actionType, object &args, DRObjects &coord, bool &destroy ) : bool | ||
keyboard | Microsoft | |
actionType | DRObjects | |
args | object | |
coord | DRObjects | |
destroy | bool | |
return | bool |
public HandleMouseOver ( int x, int y ) : void | ||
x | int | |
y | int | |
return | void |
public HealthDisplayComponent ( int locationX, int locationY, |
||
locationX | int | |
locationY | int | |
actor | ||
return | System |
public ReturnLocation ( ) : |
||
return |