Module Core.Client.Scene
Functions
| Scene.new (self, args) | Creates a new scene widget. |
| Scene.pick (self, args) | Pick an object from the scene. |
Tables
| Button | Display the game scene. |
Functions
- Scene.new (self, args)
-
Creates a new scene widget.
Parameters
- self: Scene class.
- args: Arguments.
Return value:
New scene widget. - Scene.pick (self, args)
-
Pick an object from the scene.
Parameters
- self: Scene.
-
args: Arguments.
- x: X coordinate.
- y: Y coordinate.
Return value:
Vector and object, or vector and nil when hit terrain.