LuaAPI: Add LeftX, RightX, TopY, CursorX and CursorY
authorWuzzy
Mon, 28 Mar 2016 20:46:20 +0100
changeset 818 a80f855475b5
parent 817 5d23638ba8b8
child 819 80d8736efefa
LuaAPI: Add LeftX, RightX, TopY, CursorX and CursorY
LuaAPI.wiki
--- a/LuaAPI.wiki	Mon Mar 28 20:33:32 2016 +0100
+++ b/LuaAPI.wiki	Mon Mar 28 20:46:20 2016 +0100
@@ -76,6 +76,11 @@
 || *Identifier* || *Description* ||
 || `LAND_WIDTH` || The width of the landscape in pixels ||
 || `LAND_HEIGHT` || The height of the landscape in pixels ||
+|| `LeftX` || X coordinate of the leftmost point of the landsacpe ||
+|| `RightX` || X coordinate of the rightmost point of the landsacpe ||
+|| `TopY` || Y coordinate of the topmost point of the landsacpe ||
+|| `CursorX` || The X position of the cursor (only used when the player is currently about to choose a target) ||
+|| `CursorY` || The Y position of the cursor (only used when the player is currently about to choose a target) ||
 || `WaterLine` || The y position of the water, used to determine at which position stuff drowns. Use `SetWaterLine` to change. ||
 || `ClansCount` || Number of clans in the game (teams with the same color belong to one clan) ||
 || `TeamsCount` || Number of teams in the game ||