Advertisement
Guest User

Untitled

a guest
Nov 28th, 2014
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.23 KB | None | 0 0
  1. atlas = Global.assets.get("data/misc/easteregg.atlas", TextureAtlas.class);
  2. animPacman = new Animation(0.125f, (TextureRegion[]) atlas.findRegions("pac").toArray(AtlasRegion.class));
  3. animPacman.setPlayMode(PlayMode.LOOP_PINGPONG);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement