- package com.intelligentprocedure.TexasTreadmill.entity;
- import com.badlogic.gdx.graphics.g2d.SpriteBatch;
- import com.intelligentprocedure.TexasTreadmill.TTMain;
- import java.util.ArrayList;
- /**
- * Created by Justin on 8/27/2014.
- */
- public class Entity {
- int layer;
- static {
- for(int i = 0; i < 10; i++){
- TTMain.entities.add(new ArrayList<Entity>());
- }
- }
- public Entity(int layer){
- TTMain.entities.get(layer).add(this);
- this.layer = layer;
- }
- public void render(SpriteBatch sb){}
- public void update(){}
- public void end(){
- TTMain.entities.get(layer).remove(this);
- }
- }
SHARE
TWEET
Untitled
a guest
Sep 4th, 2014
220
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
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.
