User:Erorr404/Editor/design: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
resource | |||
file | |||
interface | |||
main | |||
elementdata.lua // keeps track of selected element and movement modes | |||
bool selectElement(element theElement) | |||
element getSelectedElement() | |||
bool deselectElement() | |||
bool setMoveMode(int mode) | |||
int getMoveMode() | |||
moveelement | |||
mousemove.lua // attaches element to cursor | |||
bool enableMouseMove(element) | |||
bool disableMouseMove() | |||
cameramove.lua // attaches element to camera | |||
bool enableCameraMove(element) | |||
bool disableCameraMove() | |||
keyboardmove.lua | |||
bool enableKeyboardMove(element) | |||
bool disableKeyboardMove() |
Revision as of 01:53, 19 April 2007
resource
file interface
main
elementdata.lua // keeps track of selected element and movement modes bool selectElement(element theElement) element getSelectedElement() bool deselectElement() bool setMoveMode(int mode) int getMoveMode()
moveelement
mousemove.lua // attaches element to cursor bool enableMouseMove(element) bool disableMouseMove() cameramove.lua // attaches element to camera bool enableCameraMove(element) bool disableCameraMove() keyboardmove.lua bool enableKeyboardMove(element) bool disableKeyboardMove()