Example #1
0
	void Start () {
		config = this.GetComponent<Configuration> ();
		gameState = Object.FindObjectOfType<GameState> ();
		gameTime = 0;
		player = PlayerLogic.CreatePlayer (Vector2.zero, gameState.getPlayerData());
	}