Example #1
0
 private void Awake()
 {
     gameRules        = GetComponent <GameRules>();
     gameStateChanger = GetComponent <GameStateChanger>();
     objectPooler     = GetComponent <ObjectPooler>();
     spriteBucket     = GetComponent <SpriteBucket>();
     panelBucket      = GetComponent <PanelBucket>();
     sessionData      = GetComponent <SessionData>();
     roundCoordinator = GetComponent <RoundCoordinator>();
     roundTimer       = GetComponent <RoundTimer>();
 }
Example #2
0
 public void Initialize(SpriteBucket sprites, ObjectPooler pooler)
 {
     spriteBucket = sprites;
     objectPooler = pooler;
 }