public void Initialize()
        {
            character = new CustomerModel("TestMan", 0);
            RPGStatsComponent stats = new RPGStatsComponent(100, 100, 100, 100);

            character.AddComponent(stats);
        }
Example #2
0
        private void CreateModels()
        {
            shopModel = new ShopModel();

            CustomerModel newCustomer = new CustomerModel("Leonard", 300);

            newCustomer.AddComponent(new RPGStatsComponent(health: BASE_STATS_VALUE,
                                                           mana: BASE_STATS_VALUE, nourishment: BASE_STATS_VALUE, strength: BASE_STATS_VALUE));

            customerModel = newCustomer;
        }