Platformer Pro  2.3.2
A platform game kit for Unity.
PlatformerPro.DoorEventArgs Class Reference

Door event arguments. More...

Inheritance diagram for PlatformerPro.DoorEventArgs:
PlatformerPro.CharacterEventArgs

Public Member Functions

 DoorEventArgs (Door door, Character character)
 Initializes a new instance of the PlatformerPro.DoorEventArgs class. More...
 
- Public Member Functions inherited from PlatformerPro.CharacterEventArgs
 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

Door Door [get, protected set]
 Gets or sets the door. More...
 
DoorState DoorState [get, protected set]
 Gets or sets the door state. More...
 
- Properties inherited from PlatformerPro.CharacterEventArgs
Character Character [get, protected set]
 Gets or sets the character. More...
 
int PlayerId [get, protected set]
 What player number is this? More...
 

Detailed Description

Door event arguments.

Constructor & Destructor Documentation

◆ DoorEventArgs()

PlatformerPro.DoorEventArgs.DoorEventArgs ( Door  door,
Character  character 
)

Initializes a new instance of the PlatformerPro.DoorEventArgs class.

Parameters
doorDoor.
chracaterChracater.
stateState.

Property Documentation

◆ Door

Door PlatformerPro.DoorEventArgs.Door
getprotected set

Gets or sets the door.

◆ DoorState

DoorState PlatformerPro.DoorEventArgs.DoorState
getprotected set

Gets or sets the door state.


The documentation for this class was generated from the following file: