Added @type get method to SFML::Event
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1645 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
f79fec5c56
commit
f41b2b3f14
@ -275,6 +275,7 @@ void Init_Event( void )
|
|||||||
|
|
||||||
// Instance methods
|
// Instance methods
|
||||||
rb_define_method( globalEventClass, "initialize", FUNCPTR( Event_Initialize ), 1 );
|
rb_define_method( globalEventClass, "initialize", FUNCPTR( Event_Initialize ), 1 );
|
||||||
|
rb_define_attr( globalEventClass, "type", 1, 0 );
|
||||||
rb_define_attr( globalEventClass, "joyButton", 1, 0 );
|
rb_define_attr( globalEventClass, "joyButton", 1, 0 );
|
||||||
rb_define_attr( globalEventClass, "joyMove", 1, 0 );
|
rb_define_attr( globalEventClass, "joyMove", 1, 0 );
|
||||||
rb_define_attr( globalEventClass, "key", 1, 0 );
|
rb_define_attr( globalEventClass, "key", 1, 0 );
|
||||||
|
Loading…
Reference in New Issue
Block a user