Пример #1
0
    public void Initialize(PlayerData parent, Vector3 direction, EType elementType,
                           bool buffed = false, float force = -1)
    {
        this.parent = parent;
        if (force != -1)
        {
            this.force = force;
        }
        type           = elementType;
        this.direction = direction;
        this.buffed    = buffed;

        ElementModel.ChangeModel(listElement, elementType);
    }
 public void ChangeModel()
 {
     ElementModel.ChangeModel(listElement, currentType);
 }
 public void ChangeAura()
 {
     ElementModel.ChangeModel(auraModel, currentType);
 }