Mouse events now receive a last parameter called "event" which can be either "button" or "motion"
WARNING: You must update your Game:setupMouse() method to provide this new event, see the example module git-svn-id: http://svn.net-core.org/repos/t-engine4@1264 51575b47-30f0-44d4-a5cc-537603b46e54
Showing
- game/engines/default/engine/Mouse.lua 2 additions, 2 deletionsgame/engines/default/engine/Mouse.lua
- game/engines/default/engine/interface/PlayerMouse.lua 4 additions, 4 deletionsgame/engines/default/engine/interface/PlayerMouse.lua
- game/modules/tome/class/Game.lua 5 additions, 5 deletionsgame/modules/tome/class/Game.lua
Loading
Please register or sign in to comment