Class: Chippunk::StaticObject

Inherits:
Object
  • Object
show all
Defined in:
lib/chippunk/object.rb

Instance Attribute Summary

Attributes inherited from Object

#body, #shape, #view, #world

Instance Method Summary collapse

Methods inherited from Object

#angle=, #collision_type=, #draw, #elasticity=, #friction=, #inertia=, #mass=, #position=, #static!, #static?, #velocity=

Methods included from Helper

#coords_to_verts

Constructor Details

#initialize(*args) ⇒ StaticObject

Returns a new instance of StaticObject.



75
76
77
78
# File 'lib/chippunk/object.rb', line 75

def initialize(*args)
  super
  @is_static = true
end