hey guys, im new to java got a simple quastion,
well it easier to explain with the code
here is the code
ship = new ShipEntity(this,"spaceinvaders/ship.gif",370,550);
entities.add(ship);
for example how could i use a simple 2d shape such as rectangle instead of the .gif image
thanks in advance