Module: Tmx::ObjectShape::ShapeDefaults

Included in:
CircularShape, PolyShape
Defined in:
lib/tmx_ext/object_shape.rb

Instance Method Summary collapse

Instance Method Details

#default_elasticityObject



10
11
12
# File 'lib/tmx_ext/object_shape.rb', line 10

def default_elasticity
  0.0
end

#default_sensorObject



6
7
8
# File 'lib/tmx_ext/object_shape.rb', line 6

def default_sensor
  false
end

#default_shape_attach_pointObject



14
15
16
# File 'lib/tmx_ext/object_shape.rb', line 14

def default_shape_attach_point
  CP::Vec2::ZERO
end