public Actor(String Id, String asset_name, Vector2 starting) // Basic constructor. { this.objectId = IdFactory.GetNextId(); asset_Name = asset_name; speed = 100; Location = new Vector3(starting.X, starting.Y, 0); name = Id; height = 60; radius = 60; currentProfile = new AIPFullRandom(); }
public Actor(GameManager gameManager) { this.objectId = IdFactory.GetNextId(); asset_Name = "male_select"; speed = 100; Location = Vector3.Zero; ImageXindex = 0; ImageYindex = 0; totalLifeTime = 100; currentLife = totalLifeTime; totalFatigue = 100; currentFatigue = totalFatigue; currentBeatTimer = defaultBeatTimer; currentBeatTime = 0; awarenessWidth = 180; height = 60; radius = 20; currentProfile = new AIPFullRandom(); this.gameManager = gameManager; Active = true; }