예제 #1
0
        void Awake()
        {
            var playerModel = new RPGStatusModel("kyubuns", 10, 20, 5);
            var enemyModel  = new RPGStatusModel("Teki", 15, 25, 100);

            model = new RPGBattleStateModel(playerModel, enemyModel);
            BinderTools.ApplyModel(views, model);
        }
예제 #2
0
 public RPGBattleStateModel(RPGStatusModel player, RPGStatusModel enemy)
 {
     this.Player = player;
     this.Enemy  = enemy;
 }
예제 #3
0
 void Awake()
 {
     model = new RPGStatusModel("kyubuns", 10, 20, 5);
     BinderTools.ApplyModel(views, model);
 }