Ejemplo n.º 1
0
 public TextBubbleView(ITextBubbleSystem textBubbleSystem)
 {
     this.textBubbleSystem            = textBubbleSystem;
     this.text                        = new Label();
     this.textBubbleSystem.OnShowing += OnShowing;
     this.textBubbleSystem.OnText    += OnText;
     this.OnShowing(textBubbleSystem.Showing);
 }
Ejemplo n.º 2
0
 public Battle(List <Hero> heroes, List <Enemy> enemies, ITextBubbleSystem bubbleSystem)
 {
     Heroes             = heroes;
     Enemies            = enemies;
     TurnSystem         = new DefaultTurnSystem();
     enemyAISysytem     = new DefaultEnemyAiSystem(this, TurnSystem);
     this.HealthCounter = new MarioHealthCounter(heroes);
     ActionMenu         = new DefaultActionMenu(TurnSystem);
     TargetSystem       = new DefaultTargetSystem(Enemies);
     TextBubbleSystem   = bubbleSystem;
     TurnSystem.Load(heroes, enemies);
 }
Ejemplo n.º 3
0
 public MoveOption(Moves.MovesList move, ITextBubbleSystem system, TargetType targetType) : base(new DefaultActionMenuStore(), system, targetType)
 {
     this.Move = move;
 }
Ejemplo n.º 4
0
 public Tattle(ITextBubbleSystem system) : base(MovesList.Tattle, system, MenuData.TargetType.Single)
 {
 }