Class: SDC::Hurtshape
- Inherits:
-
Actionshape
- Object
- Actionshape
- SDC::Hurtshape
- Defined in:
- lib/core/ActionShape.rb
Overview
Hurtshapes are receptors for damage and interactions
Instance Attribute Summary
Attributes inherited from Actionshape
#active, #attributes, #shape_index
Instance Method Summary collapse
-
#initialize(active: true, shape_index: nil, attributes: {}) ⇒ Hurtshape
constructor
A new instance of Hurtshape.
Methods inherited from Actionshape
Constructor Details
#initialize(active: true, shape_index: nil, attributes: {}) ⇒ Hurtshape
Returns a new instance of Hurtshape.
41 42 43 |
# File 'lib/core/ActionShape.rb', line 41 def initialize(active: true, shape_index: nil, attributes: {}) super(active: active, shape_index: shape_index, attributes: attributes) end |