Ejemplo n.º 1
0
 public CommandSerifView(GameScreen screen, Command command, CharacterView characterView)
     : base(screen)
 {
     this.command = command;
     this.characterView = characterView;
     LoadContent();
 }
Ejemplo n.º 2
0
        public CommandEffectView(GameScreen screen, Command command, CharacterView characterView)
            : base(screen)
        {
            this.command = command;
            this.characterView = characterView;

            int diff = (command.Target is Player) ? 10 : -10;
            characterView.CharacterPosition = new Vector2(diff, 0);
            elapsed = 0;
            active = true;
        }
Ejemplo n.º 3
0
        public void Detransform()
        {
            if (CurrentView == fieldView)
                return;

            fieldView.Appear();
            CurrentView = fieldView;
        }
Ejemplo n.º 4
0
 private void onTransformEnd(object sender, EventArgs args)
 {
     CurrentView = battleView;
 }
Ejemplo n.º 5
0
 public void Walk()
 {
     fieldView.Walk();
     CurrentView = fieldView;
 }
Ejemplo n.º 6
0
        public void Transform()
        {
            if (CurrentView == battleView || fieldView.IsTransforming())
                return;

            fieldView.Transform();
            CurrentView = fieldView;
        }
Ejemplo n.º 7
0
 public void Stop()
 {
     fieldView.Stop();
     CurrentView = fieldView;
 }
Ejemplo n.º 8
0
 public void RemoveSelection(CharacterView view)
 {
     characterViews.Remove(view);
 }
Ejemplo n.º 9
0
 public void AddSelection(CharacterView view)
 {
     characterViews.Add(view);
 }