Entity

Entity is a class of Fougerite which contains all the handles and pointers related to server entities. A list of all the entities on the map can be retrieved with World.Entities.

Entity Handles

 * Entity.ChangeOwner(Player p):void Will only work with DeployableObjects (Furnace, Sleeping Bags, Doors, WorkBench, Bed, and so on.)
 * Entity.Destroy:void
 * Entity.GetLinkedStructs:List
 * Entity.GetTakeDamage:TakeDamage
 * Entity.IsDeployableObject:bool
 * Entity.IsStructure:bool
 * Entity.SetDecayEnabled(bool c):void
 * Entity.UpdateHealth:void

Entity Pointers

 * Entity.Creator: Player
 * Entity.CreatorID:ulong
 * Entity.Health:float
 * Entity.InstanceID:int
 * Entity.Name:string
 * Entity.Object: Object
 * Entity.Owner: Player
 * Entity.OwnerID:ulong
 * Entity.X:float
 * Entity.Y:float
 * Entity.Z:float