Player Class
Namespace: SpaceUsurper
Inheritance: Object → Player
Note
This class has a corresponding JSON resource type: PlayerData
Properties
| Name | Description | 
|---|---|
| BaseThreat | |
| Body | |
| BoostPercent | 1.0 when player is moving, shooting precisely behind themselves, and not braking. | 
| ChunkCenterOfMassPos | |
| ChunkDisconnectPos | |
| DamageBonus | |
| DeathPercent | |
| GunHandler | |
| Health | |
| Hitbox | |
| IgnoreBulletDamage | |
| IgnoreLaserDamage | |
| Input | |
| IsCollidingWithPixel | If the player is currently colliding with a pixel (while invulnerable or not). | 
| IsDead | |
| IsDying | |
| IsIntangible | |
| LastPixelCollisionTime | The time at which the player last touched a pixel. | 
| Movement | |
| NumChunkPixels | |
| NumDroppableStatusEffects | |
| NumStatusEffects | |
| PlayerNumber | |
| Position | |
| PosX | |
| PosY | |
| SelectedStatusEffect | |
| StatusEffectHandler | |
| Threat | |
| ThreatMultiplier |