New engine interface PlayerMouse, this handles the default mouse actions, so...
New engine interface PlayerMouse, this handles the default mouse actions, so that modules can easily implent them. You are encouraged to switch to use it. New engine interface GameTargeting, this handles all the complex targeting code for you. You are encouraged to switch to use it. Updated both ToME and example module to the new interfaces git-svn-id: http://svn.net-core.org/repos/t-engine4@958 51575b47-30f0-44d4-a5cc-537603b46e54
Showing
- game/engine/interface/GameTargeting.lua 221 additions, 0 deletionsgame/engine/interface/GameTargeting.lua
- game/engine/interface/PlayerMouse.lua 127 additions, 0 deletionsgame/engine/interface/PlayerMouse.lua
- game/modules/example/class/Game.lua 13 additions, 166 deletionsgame/modules/example/class/Game.lua
- game/modules/example/class/Player.lua 7 additions, 54 deletionsgame/modules/example/class/Player.lua
- game/modules/tome/class/Game.lua 13 additions, 193 deletionsgame/modules/tome/class/Game.lua
- game/modules/tome/class/Player.lua 10 additions, 58 deletionsgame/modules/tome/class/Player.lua
Loading
Please register or sign in to comment