Whether I am destroyed. Drone#destroy sets this value.
The drone's appearance.
The orientation of the drone in yaw-pitch.
The position of the drone.
StaticdefaultDestroys the drone, removing it from levels.
Sets my destroyed state to true and emits the destroy event, notifying drone transmitters to replicate my deletion.
Optionalevent: "position" | "destroy"Sets my position and orientation.
I emit the position event, notifying drone transmitters to replicate my position to clients.
The position of the drone.
The orientation of the drone.
I represent an entity for replicating character and positions of players and non-player entities.
I am added to players' DroneTransmitter instances so my position and appearance can be synchronized to other players.
By default, BaseLevel adds me on BaseLevel.addPlayer to represent the player's character in the level. I get destroyed when the player leaves the level via BaseLevel.removePlayer.