public Event(Scene scene, Playing playing, TextBox textBox, int id, string tag, string command) { this.scene = scene; this.playing = playing; this.textBox = textBox; this.id = id; this.tag = tag; this.command = command; }
public Transition(Playing playing, Scene scene, SpriteBatch spriteBatch, SpriteFont symbols,Texture2D topFade, Texture2D bottomFade) { this.bottomFade = bottomFade; this.topFade = topFade; this.symbols = symbols; this.spriteBatch = spriteBatch; this.playing = playing; this.scene = scene; }
public Unpaused(Playing playing, Scene scene, Player player, List<Enemy> enemies, List<Item> items, List<Particle> particles, List<Projectile> projectiles, TextBox textBox, List<Box> boxes, List<StaticObject> staticObjects) { this.playing = playing; this.player = player; this.enemies = enemies; this.projectiles = projectiles; this.items = items; this.particles = particles; this.scene = scene; this.textBox = textBox; this.boxes = boxes; this.staticObjects = staticObjects; this.tag = "Unpaused"; }
public TextBox(Scene scene) { this.scene = scene; }
public Projectile(int[] coords, int[] direction, int[] decay, string type, Scene scene) { this.coords = coords; this.direction = direction; this.type = type; switch (type) { case "arrow": { this.velocity = new int[] { 3 * direction[0], 3 * direction[1] }; this.icon = "\u2727"; this.color = Playing.getColor("Red"); break; } case "copper": { this.velocity = new int[] { 3 * direction[0], 3 * direction[1] }; this.decay = new int[] { direction[0] * (-1), direction[1] * (-1) }; this.icon = "\u2600"; this.color = Playing.getColor("Yellow"); break; } case "malachite": { this.velocity = new int[] { 3 * direction[0], 3 * direction[1] }; this.icon = "\u2600"; this.color = Playing.getColor("Green"); break; } case "fireball": { this.velocity = new int[] { 3 * direction[0], 3 * direction[1] }; this.icon = "\u2600"; this.color = Playing.getColor("Red"); break; } } this.coords = coords; this.scene = scene; }
public Player(int[] coords, Scene scene, Playing playing) { this.playing = playing; this.color = Playing.getColor("White"); inventory.Add("fist"); this.coords = coords; this.scene = scene; }
public Item(int[] coords, Scene scene, string tag) { this.coords = coords; this.setTag(tag); this.uniValue = Item.getUniVal(tag); this.color = Item.getColor(tag); }
public Enemy(int[] coords, Scene scene, int health, string drop, int eventId, string tag, Playing playing, bool aggressive, string uniVal, int speed) { //Debug.Print(uniVal); this.speed = speed; this.setTag(tag); this.coords = coords; this.scene = scene; this.playing = playing; this.color = Playing.getColor("White"); this.health = health; this.uniVal = char.ConvertFromUtf32(Convert.ToInt32(uniVal)); this.drop = drop; this.eventId = eventId; this.aggressive = aggressive; dying = false; }
public Box(int[] coords, Scene scene, string uniVal, string drop, int eventId) { this.scene = scene; this.coords = coords; this.uniVal = char.ConvertFromUtf32(Convert.ToInt32(uniVal)); this.drop = drop; this.eventId = eventId; }