public Enemy() { pos = new Vector2(); up = new Vector2(0,-1); right = new Vector2(1,0); sprite = new SpriteEx(); speed = 0; onPlanet = true; }
public Planet() { mountain = new SpriteEx(); tree = new SpriteEx(); grass = new SpriteEx(); planet = new SpriteEx(); pos = new Vector2(); gravity = 0; radius = 2048; gravityField = 3048; }
public Player() { sprite = new SpriteEx(); pos = new Vector2(); up = new Vector2(0, -1); right = new Vector2(1, 0); speed = 600; jumping = -0.1f; charge = 0; animationManager = AnimationManager.CreateFromFile("Content\\mainchar.XML"); }
public HUD() { hud = new SpriteEx(); }
public Collectible() { pos = new Vector2(); sprite = new SpriteEx(); }