public static CivilianClassProperties GetProperties() { CivilianClassProperties properties = new CivilianClassProperties(); properties.coldTempLevel = 100.0f; properties.coldTempMultiplier = 0.75f; properties.hotTempLevel = 100.0f; properties.hotTempMultiplier = 0.6f; properties.healthVulnerability = 6.0f; properties.healthLevel = 100.0f; properties.hungerDecay = 15.0f; properties.hungerLevel = 100.0f; properties.thirstDecay = 4.0f; properties.thirstLevel = 100.0f; properties.trustLevel = 100.0f; properties.trustMultiplier = 7.0f; properties.dotTexturePath = "Graphics//People//adult"; //this is non-rebelious, maybe combine 3 pngs into one then just scroll along? properties.graphTexturePath = "Graphics//ListenPeople//adult_0"; return properties; }
public Civilian(CivilianClassProperties characterProperties, int startX, int startY) { this.characterProperties = characterProperties; this.currentPosition = new Vector2(startX, startY); this.color = Color.Black; this.NearestKnownWaterSource = null; ResetLevelsToDefaultValues(); this.goal = DecisionProcessing.RandomGoal(currentPosition); }