Class: Box2D::Timer
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Box2D::Timer
- Defined in:
- lib/box2d_base.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.create_as(_start_) ⇒ Object
53 54 55 56 57 |
# File 'lib/box2d_base.rb', line 53 def self.create_as(_start_) instance = Timer.new instance[:start] = _start_ instance end |
Instance Method Details
#start ⇒ Object
51 |
# File 'lib/box2d_base.rb', line 51 def start = self[:start] |
#start=(v) ⇒ Object
52 |
# File 'lib/box2d_base.rb', line 52 def start=(v) self[:start] = v end |