how to connect graphic to a class - in a 2D game
i am building a new game in java for android.
now usually i am using unity 3D but i want this project to be in java and it will be in 2D.
so i am using Box2D for physics calculations.
now i have a class that will be called "Enemy" now i want that when i call this class
i will have an enemy graphic shape/picture/module
how can i do that?
and how do i build graphics shapes, like in flash i could draw a vectorial shape and Color it....
how i can do that in Java?
thank you from advance.