Exemple #1
0
 public State(State S)
 {
     label      = S.label;
     data       = S.getData();
     state_id   = S.getID();
     system_ref = S.getSystem();
 }
Exemple #2
0
 // copy byte data to this later with another method
 public State(string l, LearningSystem L)
 {
     label      = l;
     data       = null;
     system_ref = L;
     state_id   = L.getNextStateID();
     L.incrementNextStateID();
 }
    public List <PlayerAbility> attacks; //use this to add attacks

    private void Awake()
    {
        if (instance != null)
        {
            Debug.LogWarning("fix this: " + gameObject.name);
            instance = this;
        }
        else
        {
            instance = this;
        }
    }