Метод | Описание | |
---|---|---|
Check ( ) : bool |
Determines if we should rest up our health or magic.
|
|
Exit ( ) : void |
Force the player to stand up before attempting anything else.
|
|
IsHealthHigh ( int health ) : bool |
Given a value, is our health high?
|
|
IsHealthLow ( int health ) : bool |
Given a value, is our health low?
|
|
IsMagicHigh ( int magic ) : bool |
Given a value, is our mp high?
|
|
IsMagicLow ( int magic ) : bool |
Given a value, is our mp low?
|
|
RestState ( IMemoryAPI fface ) : System.Collections.Generic | ||
Run ( ) : void |
Begin resting our health and magic.
|
|
ShouldRestForHealth ( int health, Status status ) : bool |
Should we rest up our magic?
|
|
ShouldRestForMagic ( int magic, Status status ) : bool |
Tells us when we should rest mp.
|
public RestState ( IMemoryAPI fface ) : System.Collections.Generic | ||
fface | IMemoryAPI | |
Результат | System.Collections.Generic |
public ShouldRestForHealth ( int health, Status status ) : bool | ||
health | int | |
status | Status | |
Результат | bool |
public ShouldRestForMagic ( int magic, Status status ) : bool | ||
magic | int | |
status | Status | |
Результат | bool |