Abstract class that governs all physics objects. More...
Public Member Functions | |
virtual void | ChangeOutlineColor (Color color) |
Changes the color of the outline, but doesnt enable it. | |
virtual void | EnableTarget () |
Enables the outline of the object. | |
virtual void | DisableTarget () |
Disables the outline of the object. |
Data Fields | |
Collider2D | collider |
Rigidbody2D | rb |
PhysicsObjectType | physicsObjectType |
Protected Attributes | |
Outline2D | _outline |
Abstract class that governs all physics objects.
|
inlinevirtual |
Changes the color of the outline, but doesnt enable it.
Mind you, the sprite needs to have padding for the outline to work
color | The target color to set |
|
inlinevirtual |
Disables the outline of the object.
Mind you, the sprite needs to have padding for the outline to work
|
inlinevirtual |
Enables the outline of the object.
Mind you, the sprite needs to have padding for the outline to work
|
protected |
Collider2D PhysicsObject.collider |
PhysicsObjectType PhysicsObject.physicsObjectType |
Rigidbody2D PhysicsObject.rb |