using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Character : MonoBehaviour {

    [SerializeField]
    private CharacterHealth health;
    public CharacterHealth Health { get { return this.health; } }

    [SerializeField]
    private CharacterMovement movement;
    public CharacterMovement Movement { get { return this.movement; } }

    [SerializeField]
    private Animator characterAnimator;
    public Animator CharacterAnimator { get { return this.characterAnimator; } }

    [SerializeField]
    private CharacterGraber graber;
    public CharacterGraber Graber { get { return this.graber; } }
    
    
    public virtual void PrepareCharacter () {

        this.health.PrepareHealth(this);
        this.movement.PrepareMovement(this);
        this.graber.PrepareGrabber(this);
    }

}
