Separation of event and player management from the MapScene class More...
Classes | |
class | Follower |
platoon member More... | |
struct | PosLog |
coordinate log | |
class | ShotInfo |
A class that manages event firing tasks More... | |
Public Member Functions | |
MapEngine (SharpKmyPhysics.PhysicsBase p) | |
ScriptRunner | AddEvent (MapScene s, Common.Rom.Event inEvent, Common.Rom.RomItem parentRom) |
void | genEncountStep () |
void | updateConditionEffect (bool forceNeedSort=false) |
IEnumerable< MapCharacter > | getOtherChacaterFromMap (MapCharacter self, MapData mapData, bool ignoreHeight=true, bool checkForward=false) |
List< int > | getCollisionPoints (MapCharacter ev, int dir) |
void | finalizeAllScript () |
void | offsetFollowers (float moveX, float moveZ) |
void | setFollowersVisible (bool flag, bool setToCurrent=true, bool forceHide=false) |
Set the display state of the formation More... | |
bool | getFollowersVisible () |
void | startFollowerSort () |
void | pushFollower (int partyIndex, int order=-1) |
void | pushFollower (Guid guid, int order=-1) |
void | endFollowerSort (bool immediateComplete=false) |
End of platoon operation More... | |
Static Public Member Functions | |
static bool | checkCondition (double a, double b, Common.Rom.Script.Command.ConditionType conditionType) |
Public Attributes | |
MapScene | owner |
float | restStep |
List< Follower > | followers = new List<Follower>() |
Static Public Attributes | |
const float | DEFAULT_INVINCIBLE_TIME = 0.5f |
static List< MapCharacter > | emptyList = new List<MapCharacter>() |
const int | MAX_FOLLOWERS = 64 |
Properties | |
bool | followerVisible [get, set] |
Separation of event and player management from the MapScene class
Separation of event and player management from the MapScene class Here we further separate only the formation management
Separation of event and player management from the MapScene class Here we separate only event management
Yukar.Engine.MapEngine.MapEngine | ( | SharpKmyPhysics.PhysicsBase | p | ) |
ScriptRunner Yukar.Engine.MapEngine.AddEvent | ( | MapScene | s, |
Common.Rom.Event | inEvent, | ||
Common.Rom.RomItem | parentRom | ||
) |
|
static |
void Yukar.Engine.MapEngine.endFollowerSort | ( | bool | immediateComplete = false | ) |
End of platoon operation
immediateComplete | Whether the swap should be completed immediately without animating |
void Yukar.Engine.MapEngine.finalizeAllScript | ( | ) |
void Yukar.Engine.MapEngine.genEncountStep | ( | ) |
List< int > Yukar.Engine.MapEngine.getCollisionPoints | ( | MapCharacter | ev, |
int | dir | ||
) |
bool Yukar.Engine.MapEngine.getFollowersVisible | ( | ) |
IEnumerable< MapCharacter > Yukar.Engine.MapEngine.getOtherChacaterFromMap | ( | MapCharacter | self, |
MapData | mapData, | ||
bool | ignoreHeight = true , |
||
bool | checkForward = false |
||
) |
void Yukar.Engine.MapEngine.offsetFollowers | ( | float | moveX, |
float | moveZ | ||
) |
void Yukar.Engine.MapEngine.pushFollower | ( | Guid | guid, |
int | order = -1 |
||
) |
void Yukar.Engine.MapEngine.pushFollower | ( | int | partyIndex, |
int | order = -1 |
||
) |
void Yukar.Engine.MapEngine.setFollowersVisible | ( | bool | flag, |
bool | setToCurrent = true , |
||
bool | forceHide = false |
||
) |
Set the display state of the formation
flag | show or hide |
setToCurrent | Reflect immediately? |
forceHide | to force set |
void Yukar.Engine.MapEngine.startFollowerSort | ( | ) |
void Yukar.Engine.MapEngine.updateConditionEffect | ( | bool | forceNeedSort = false | ) |
|
static |
|
static |
|
static |
MapScene Yukar.Engine.MapEngine.owner |
float Yukar.Engine.MapEngine.restStep |
|
getset |