NitrogeneGames / NoReturn

Space game built from the Slick-2d library. Physics engine built from scratch using Slick-2d geometry
4 stars 2 forks source link

Render things only on the screen #7

Closed kovesdy closed 11 years ago

kovesdy commented 11 years ago

Use: public void render() { if(culled()) return; //render stuff } in each object's class.

This will only render if it is on the screen.