StendhalScripting/LuaAPI: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>AntumDeluge →SkinColor: example usage |
imported>AntumDeluge →Direction: example usage |
||
| Line 616: | Line 616: | ||
The {{StendhalFile|master|src/games/stendhal/common/Direction.java|games.stendhal.common.Direction}} enum. |
The {{StendhalFile|master|src/games/stendhal/common/Direction.java|games.stendhal.common.Direction}} enum. |
||
Example usage: |
|||
<pre> |
|||
local npc = entities:createSpeakerNPC("foo") |
|||
npc:setDirection(Direction.DOWN) |
|||
</pre> |
|||
== DaylightPhase == |
== DaylightPhase == |
||