public Actor(String id, String asset_name, Vector2 starting, Stage Parent) // Basic constructor. { this.objectId = IdFactory.GetNextId(); asset_Name = asset_name; speed = 100; Location = new Vector3(starting.X, starting.Y, 0); parent = Parent; name = id; learnAction(new Actionstate("Talking")); learnAction(new Stand()); learnAction(new Walk()); learnAction(new Limp()); learnAction(new Jump()); learnAction(new Run()); learnAction(new UseItem()); learnAction(new Dead()); learnAction(new Unconcious()); learnAction(new FallForward()); learnAction(new StandUp()); learnAction(new Prone()); learnAction(new Rest()); defaultAction = knownActions["Standing"]; SetAction("Standing"); }
public MenuItem(String ID) { objectId = IdFactory.GetNextId(); id = ID; iconColor = Color.NavajoWhite; textColor = Color.Black; iconName = "BlankIcon"; }
public MenuItem() { objectId = IdFactory.GetNextId(); id = "Default ID"; display = "Default"; iconColor = Color.NavajoWhite; textColor = Color.Black; iconName = "BlankIcon"; }
public Person(string name, string password, string bio, string likes, VeryDependentActions act) { actions = act; Name = name; Password = password; Bio = bio; Likes = likes; Id = IdFactory.GetNextId(); }
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 Menu(GameManager gameManager, String ImageName, String FontName, String Title) { objectId = IdFactory.GetNextId(); parent = gameManager.UIManager; player = gameManager.Player; fontName = FontName; imageName = ImageName; current_index = 0; x_position = 700; y_position = 400; y_spacing = 20; x_spacing = 0; title = Title; loaded = false; }
/// <summary> /// Creates a menu that runs in the UIManager attached to the given GameManager. /// </summary> /// <param name="gameManager">GameManager that's hosting the desired UIManager</param> public Menu(GameManager gameManager) { objectId = IdFactory.GetNextId(); parent = gameManager.UIManager; player = gameManager.Player; fontName = "Text"; imageName = "BlankIcon"; current_index = 0; x_position = 500; y_position = 500; y_spacing = 20; x_spacing = 0; title = ""; loaded = false; }
public Stage(String id, StageManager SM) { regionsWide = 1; regionsHigh = 1; gameManager = SM.gameManager; this.objectId = IdFactory.GetNextId(); this.id = id; position = new Vector2(0, 0); MaxX = regionsWide * 8192; MaxY = regionsHigh * 8192; camera = new Camera(this, input); this.SM = SM; BGMTitle = "FlowerWaltz"; AMBColor = new Vector3(1f, 1f, .4f); AMBStrength = .8f; AM = new AudioManager(); loaded = false; CreateScreenRenderObject(); }
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; }
public Menu() { objectId = IdFactory.GetNextId(); }
public EVENT() { objectId = IdFactory.GetNextId(); }
public Lines(String text, Actor actor) { this.objectId = IdFactory.GetNextId(); this.text = text; this.actor = actor; }
public Lines() { this.objectId = IdFactory.GetNextId(); }