Can anyone give me the code to the Texture class

Forum for the book "Beginning Android Games", see http://www.apress.com/9781430230427

Can anyone give me the code to the Texture class

Postby robelgado » Mon Jul 02, 2012 2:32 pm

Hi,
I just got to the TextureRegion class and it's asking for width and height variables inside of the texture class which I don't have.
I must have missed an adjustment that was made to the texture class at a later chapter.
Can someone post the code to the final Texture class that was implemented in the book?
thanks,

-Robert
robelgado
 
Posts: 28
Joined: Thu Jun 21, 2012 2:44 pm

Re: Can anyone give me the code to the Texture class

Postby alexsc » Tue Jul 03, 2012 7:55 am

All the source code is available here:

http://code.google.com/p/beginning-android-games/source/browse/#svn%2Ftrunk%2Fch08-2d-gamedev%2Fsrc%2Fcom%2Fbadlogic%2Fandroidgames%2Fframework%2Fgl

Chapter 8 and on has the version of the texture class that includes width and height
alexsc
 
Posts: 14
Joined: Sun May 20, 2012 8:07 am

Re: Can anyone give me the code to the Texture class

Postby robelgado » Tue Jul 03, 2012 2:00 pm

Thanks!
robelgado
 
Posts: 28
Joined: Thu Jun 21, 2012 2:44 pm


Return to Beginning Android Games

Who is online

Users browsing this forum: No registered users and 0 guests