(let ((getSceneManager (get-irrlicht-proc "getSceneManager" device)))
(getSceneManager device)))
+(define-method (get-timer (device <irrlicht-device>))
+ (let ((getTimer (get-irrlicht-proc "getTimer" device)))
+ (getTimer device)))
+
(define-method (get-video-driver (device <irrlicht-device>))
(let ((getVideoDriver (get-irrlicht-proc "getVideoDriver" device)))
(getVideoDriver device)))
(yield device)))
(export <irrlicht-device> create-device get-cursor-control get-file-system get-gui-environment
- get-scene-manager get-video-driver is-window-active? run set-window-caption! yield-device)
+ get-scene-manager get-timer get-video-driver is-window-active? run set-window-caption!
+ yield-device)
(irr-class #:init-value "SKeyMap"))
(export <key-map>)
+
+
+;; ITimer
+(define-class <timer> (<reference-counted>)
+ (irr-class #:init-value "ITimer"))
+
+(define-method (get-time (timer <timer>))
+ (let ((getTime (get-irrlicht-proc "getTime" timer)))
+ (getTime timer)))
+
+(export <timer> get-time)