Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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();
 }
Esempio n. 3
0
 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;
 }