Slyvr 0 Junior Poster in Training

I have 2 classes. One get/set BlockData, and one main class that loads,draws,updates.
I have a big list of public Texture2D types that I have in the main class.
I need blockdata to be able to get the texture2d types for each block and send it back to main...but blockdata always returns null.

What do I need to do to get blockdata to acquire the texture2d variables with minimal code?

I don't want to do a get/set for each texture type in the main class.
And I've tried messing with extends/inheritance

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.