Package net.storm.api.events
Class PlayerSpawned
java.lang.Object
net.storm.api.events.PlayerSpawned
An event fired when a player spawns in the game world.
This event is triggered when another player becomes visible in the game world. This can occur when a player logs in nearby, enters the visible range, teleports into the area, or during scene loading.
Note: This event is fired for other players, not the local player.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PlayerSpawned
public PlayerSpawned()
-
-
Method Details
-
getActor
Gets the spawned player as a generic actor.This is a convenience method for code that works with actors generically rather than specifically with players.
- Returns:
- the player as an IActor
-