SHARE
TWEET
Untitled
a guest
Sep 3rd, 2014
223
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- class SimpleModel {
- float positionx;
- float positionY;
- SimpleModel(float x, float y) {
- this.positionX = x;
- this.positionY = y;
- }
- }
- ...
- Array<SimpleModel> models = new Array<SimpleModel>();
- models.add(new SimpleModel(10, 0));
- models.add(new SimpleModel(20, 15));
- models.add(new SimpLEModel(0, 10));
- ...
- //render
- ...
- for (SimpleModel model : models) {
- batch.draw(modelImage, model.positionX, model.positionY);
- }
- ...
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.
