Sveske-Juice_PreyVSPredator/Assets/Main/Component.pde
public abstract class Component
{
    /* Members. */
    protected String m_Name = "New Component";
    protected int m_Id = 0;
    protected GameObject m_GameObject;
    protected boolean m_Enabled = true;
    
    /* Getters/Setters. */
    public String GetName() { return m_Name; }
    public void SetGameObject(GameObject go) { m_GameObject = go; }
    public GameObject GetGameObject() { return m_GameObject; }
    public Transform transform() { return GetGameObject().GetTransform(); } // Get Transform shortcut
    public int GetId() { return m_Id; }
    public void SetId(int id) { m_Id = id; }
    public boolean IsEnabled() { return m_Enabled; }
    public void SetEnabled(boolean value) { m_Enabled = value; }
    
    /* Methods. */
    public void Start() { }
    public void Update() { }
    public void LateUpdate() { }
    public void Exit() { }
}