Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.otg.irongun.entities;
- import com.badlogic.gdx.physics.box2d.Body;
- import net.dermetfan.gdx.graphics.g2d.AnimatedBox2DSprite;
- import net.dermetfan.gdx.graphics.g2d.AnimatedSprite;
- public class Player extends AnimatedBox2DSprite {
- Body body;
- public Player(AnimatedSprite animatedSprite, Body body) {
- super(animatedSprite);
- this.body = body;
- }
- public Body getBody() {
- return body;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement