![]() |
Platformer Pro
2.3.2
A platform game kit for Unity.
|
Item event args with additioal args for a damaged event.s More...
Public Member Functions | |
ItemDamagedEventArgs (string type, Character character, bool isDestroyed) | |
Initializes a new instance of the T:PlatformerPro.ItemDamagedEventArgs class. More... | |
![]() | |
ItemEventArgs (string type, Character character) | |
Initializes a new instance of the PlatformerPro.ItemEventArgs class assuming the amount = 1. More... | |
ItemEventArgs (string type, int amount, Character character) | |
Initializes a new instance of the PlatformerPro.ItemEventArgs class. More... | |
![]() | |
CharacterEventArgs () | |
Initializes a new instance of the PlatformerPro.CharacterEventArgs class. More... | |
CharacterEventArgs (Character character) | |
Initializes a new instance of the PlatformerPro.CharacterEventArgs class. More... | |
CharacterEventArgs (Character character, int playerId) | |
Initializes a new instance of the PlatformerPro.CharacterEventArgs class. More... | |
void | Update (Character character) |
Updates the event args with the given character More... | |
Properties | |
bool | IsDestroyed [get, protected set] |
Gets or sets a value indicating whether this T:PlatformerPro.ItemDamagedEventArgs is destroyed. More... | |
![]() | |
string | Type [get, protected set] |
Gets the item type. More... | |
virtual int | Amount [get, protected set] |
Gets the number of items collected. More... | |
virtual int | IntValue [get, protected set] |
Gets or sets the int value. More... | |
![]() | |
Character | Character [get, protected set] |
Gets or sets the character. More... | |
int | PlayerId [get, protected set] |
What player number is this? More... | |
Item event args with additioal args for a damaged event.s
PlatformerPro.ItemDamagedEventArgs.ItemDamagedEventArgs | ( | string | type, |
Character | character, | ||
bool | isDestroyed | ||
) |
Initializes a new instance of the T:PlatformerPro.ItemDamagedEventArgs class.
type | Type. |
character | Character. |
isDestroyed | If set to true is destroyed. |
|
getprotected set |
Gets or sets a value indicating whether this T:PlatformerPro.ItemDamagedEventArgs is destroyed.
true
if is destroyed; otherwise, false
.