public PropertyInfo(List <CSV.varient> tContents) { this.id = tContents[0].ToEnum <PropertyInfo.eID>(); this.sightRange = tContents[1]; this.attackRange = tContents[2]; this.wander_min_range = tContents[3]; this.wander_max_range = tContents[4]; this.searchRange = tContents[5]; this.chaseRange = tContents[6]; this.awayRange = tContents[7]; this.stepAngle = tContents[8]; this.eyeLevel = tContents[9]; this.angularSpeed = tContents[10]; this.walkSpeed = tContents[11]; this.runSpeed = tContents[12]; this.sprintSpeed = tContents[13]; this.stoppingDist = tContents[14]; this.acceleration = tContents[15]; this.attack_power = tContents[16]; this.attack_interval = tContents[17]; this.max_health = tContents[18]; }
public TestEnumTable(List <CSV.varient> tContents) { this.id = tContents[0].ToEnum <TestEnumTable.eID>(); this.Value = tContents[1]; this.StrValue = tContents[2]; }