Esempio n. 1
0
 public Projectile(Type type, ResourceHolder<Texture, ResourceID> textures):base(1) //I don't know how much HP there is
 {
     mType = type;
     mSprite = new Sprite(textures.get(Table[(int)type].texture));
     
     mSprite.centerOrigin();
     mTargetDirection = new Vector2f();
     
 }