public CutSceneMultipleMoves(Game g, Arena a, Vector2[] points, int playerNum, String spriteNumber, bool loadFromCT) : base(g, a, points[0].X, points[0].Y, playerNum, spriteNumber, -1, loadFromCT) { xi = (XboxInput)game.playerOneInput; this.points = points; goalPoint = new Vector2(points[0].X * game.drawingTool.ActualScreenPixelWidth, points[0].Y * game.drawingTool.ActualScreenPixelHeight); this.IsVisible = true; }
public CutSceneText(Game g, Arena a, Vector2 points, int playerNum, String[] text, float orderNumber) : base(g, a, points.X, points.Y, playerNum, "Error", -1, false) { xi = (XboxInput)game.playerOneInput; this.IsVisible = true; this.text = text; this.orderNumber = orderNumber; this.keyInput = new KeyboardInput(); }
public CutSceneObjText(int frameNum, String spriteName, Vector2 pos, Game game, String[] text) { this.frameNum = frameNum; this.endFrame = frameNum + text.Length-1; xi = (XboxInput)game.playerOneInput; this.text = text; this.keyInput = new KeyboardInput(); this.pos = pos; this.game = game; this.IsVisible = true; }