Attachable:CollectDamage
From Data Realms Wiki
(Difference between revisions)
Latest revision as of 00:46, 28 June 2012
Function | |
---|---|
Syntax | CollectDamage( * None. ) |
Description: | |
Gets the amount of damage points this Attachable has sustained and should cause its parent. Calling this will reset the damage count. This should normally be called AFTER Update() to get the correct damage for a given frame. | |
Returns | A float with the damage points accumulated since the last time this method was called. |
Example | |
---|---|
Description | Placeholder! |
Code |
|
Output | Placeholder! |