Class: SDC::Hurtshape

Inherits:
Actionshape show all
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

Methods inherited from Actionshape

#initialize_copy

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