-
Notifications
You must be signed in to change notification settings - Fork 132
Is Player Base In Position
This boolean is responsible by evaluate if the player is located in a specific position in the map.
This method returns true if the player's base is in position <position>, which can be either left, right, up, or down, as shown in the image below. IsPlayerBaseInPosition can be interpreted (composed) as:

Used in a Loop (For)
IsPlayerBaseInPosition can appear inside of a loop/if structure, however, the boolean can't receive a unit as a parameter, which means that this boolean will be used always as the stand-alone way.
BooleanDSL bool_example = new BooleanDSL("IsPlayerBaseInPosition(Left)");
bool_example.translate() --> print in Java console--> IsPlayerBaseInPosition(Left)
bool_example.friendly_translate() --> print in Java console--> IsPlayerBaseInPosition(Left)
BuilderDSLTreeSingleton.formatedStructuredDSLTreePreOrderPrint((iNodeDSLTree) bool_example); --> print in Java console--> b->IsPlayerBaseInPosition(Left)