Constructor

new (a:Array<String>)

Variables

@:value(0)action:Int = 0

N/A

@:value(0)action_target_x:Int = 0

action x

@:value(0)action_target_y:Int = 0

action y

@:value(24)age:Float = 24

age of player

@:value(60)age_r:Float = 60

age rate of increase

@:value("0;0;0;0;0;0")clothing_set:String = "0;0;0;0;0;0"

clothing set string

@:value(false)deleted:Bool = false

array of properties to generate PlayerType

Parameters:

null

a

@:value(0)done_moving_seqNum:Int = 0

sequence number of done moving

@:value(0)facing:Int = 0

facing direction 1 (right) or -1 (left)

@:value(false)forced:Bool = false

forced set pos

@:value(0)heat:Int = 0

heat value

@:value(false)held_learned:Bool = false

tool learned boolean

@:value(false)held_yum:Bool = false

held yum boolean

@:value(0)just_ate:Int = 0

just ate id

@:value(0)last_ate_id:Int = 0

last ate id

@:value(3.75)move_speed:Float = 3.75

move speed of player

@:value([0])o_id:Array<Int> = [0]

object id array from container format

@:value(0)o_origin_valid:Int = 0

N/A

@:value(0)o_origin_x:Int = 0

x origin

@:value(0)o_origin_y:Int = 0

y origin

@:value(-1)o_transition_source_id:Int = -1

transition source id of object

@:value(0)p_id:Int = 0

Player ID, given by server

@:value(19)po_id:Int = 19

Player's object ID, from objects

@:value("")reason:String = ""

@:value(0)responsible_id:Int = 0

responsible for player id

@:value(0)x:Int = 0

tileX int

@:value(0)y:Int = 0

tileY int

Methods

toData ():String

toString ():String

toString for debug

Returns:

String output = "field: property"

update (instance:PlayerInstance):Void