hi all , so i have a main class
which holds my different scenes
then i have an actionscene which holds all my players , weapons,enemies etc
i have created a camera class and then i have created a new camera within my player class (i have also tried to create it within the actual actionscene) but i think its all ok apart from when it comes to the draw method when i have to include the camera within the spritebatch.begin(.............) but i am getting an error because obviously i have an spritebatch.begin in the main class which holds the different scenes.... so i tried writing a new spritebatch.begin in the player/actionscene but getting the error obviously i cant begin a new one until the end has been called
can anyone help me with this problem. if needed to see any code i will paste it in if needed. i just wondered if this is a common problem people get?
i cant see how to create the new camera in the main heliClass because i need to pass the character values which are created within the player/action class?