Exemple #1
0
 private void Start()
 {
     cardHovering       = null;
     boardSpaceHovering = Coord.nullCoord;
     cardController     = FindObjectOfType <CardViewController>();
     boardState         = VEntityComponentSystemManager.Instance;
     cardMover          = FindObjectOfType <CardMover>();
     SendEventToBoard();
 }
Exemple #2
0
 void Start()
 {
     deck              = new List <CardGameObject>();
     hand              = new List <CardGameObject>();
     discardPile       = new List <CardGameObject>();
     board             = FindObjectOfType <VEntityComponentSystemManager>();
     cardMover         = FindObjectOfType <CardMover>();
     cantrip           = GameObject.FindWithTag("cantrip").GetComponent <CardGameObject>();
     handControlSystem = VEntityComponentSystemManager.Instance.GetSystem <HandControlSystem>();
 }