main commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Hook into the Singleton to a event which trigger each player join.
|
||||
*/
|
||||
export interface OnPlayerJoined {
|
||||
/**
|
||||
* This function will be called when a player join the game.
|
||||
*/
|
||||
onPlayerJoined(player: Player): void;
|
||||
}
|
||||
|
||||
/**
|
||||
* Hook into the Singleton to a event which trigger each player quit.
|
||||
*/
|
||||
export interface OnPlayerQuit {
|
||||
/**
|
||||
* This function will be called when a player quit the game.
|
||||
*/
|
||||
onPlayerQuit(player: Player): void;
|
||||
}
|
||||
Reference in New Issue
Block a user