Пример #1
0
    public BaseEnemyData(EnemyModel model, UnityAction die_call_back = null)
    {
        maxhealth  = model.GetMaxHealth();
        head       = model.config.GetSprite();
        enemy_name = model.config.EnemyName;
        health     = maxhealth;

        this.die_call_back = die_call_back;
    }