Advertisement
thw

Player File

thw
Jul 5th, 2015
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.42 KB | None | 0 0
  1. package com.otg.irongun.entities;
  2.  
  3. import com.badlogic.gdx.physics.box2d.Body;
  4.  
  5. import net.dermetfan.gdx.graphics.g2d.AnimatedBox2DSprite;
  6. import net.dermetfan.gdx.graphics.g2d.AnimatedSprite;
  7.  
  8. public class Player extends AnimatedBox2DSprite {
  9.  
  10.     Body body;
  11.    
  12.     public Player(AnimatedSprite animatedSprite, Body body) {
  13.         super(animatedSprite);
  14.         this.body = body;
  15.     }
  16.    
  17.     public Body getBody() {
  18.         return body;
  19.     }
  20.  
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement