public Hero(int x, int y) //Konstruktor, setzt Anfangsposition
 {
     checkpoint = new Vector2(x, y);
     position.X = x;
     position.Y = y;
     cbox = new CollisionBox(Convert.ToInt32((double)Game1.luaInstance["heroCollisionOffsetX"]), Convert.ToInt32((double)Game1.luaInstance["heroCollisionOffsetY"]), Convert.ToInt32((double)Game1.luaInstance["heroCollisionWidth"]), Convert.ToInt32((double)Game1.luaInstance["heroCollisionHeight"]));
     heroStartTime = Convert.ToInt32((double)Game1.luaInstance["heroStartTime"]);
     spine = new Spine();
 }
 public Enemy(Vector2 pos, int t,bool mover) //Konstruktor, setzt Anfangsposition
 {
     spine = new Spine();
     this.mover = mover;
     checkmover = mover;
     checkpoint = new Vector2(pos.X, pos.Y);
     position = pos;
     type = t;
 
 }
 public Player(int x, int y) //Konstruktor, setzt Anfangsposition
 {
     checkpoint = new Vector2(x, y);
     position.X = x;
     position.Y = y;
     lastPosition = position;
     cbox = new CollisionBox(Convert.ToInt32((double)Game1.luaInstance["playerCollisionOffsetX"]), Convert.ToInt32((double)Game1.luaInstance["playerCollisionOffsetY"]), Convert.ToInt32((double)Game1.luaInstance["playerCollisionWidth"]), Convert.ToInt32((double)Game1.luaInstance["playerCollisionHeight"]));
     lifes = Game1.leben;
     spine = new Spine();
     initAcceleration = (float)Convert.ToInt32((double)Game1.luaInstance["playerAcceleration"]) / 100;
     smashInitIntensity = Convert.ToInt32((double)Game1.luaInstance["playerSmashIntensity"]);
     smashCooldown = (float)Convert.ToDouble(Game1.luaInstance["playerMegaSchlagCooldown"]) * 1000;
 }
 public PrincessSpieler(int x, int y) : base(x,y) //Konstruktor, setzt Anfangsposition
 {
     checkpoint = new Vector2(x, y);
     position.X = x;
     position.Y = y;
     lastPosition = position;
     cbox = new CollisionBox(-25, -150, 50, 140);
     lifes = Game1.leben;
     spine = new Spine();
     initAcceleration = (float)Convert.ToInt32((double)Game1.luaInstance["playerAcceleration"]) / 100;
     smashInitIntensity = Convert.ToInt32((double)Game1.luaInstance["playerSmashIntensity"]);
     smashCooldown = 10 * 1000;
 }
        //Deine Mutter ist so fett, wenn sie aus dem Bett fällt, dann auf beiden Seiten

        public Princess()
        {
            spine = new Spine();
        }
 public Character(int x, int y)
 {
     position.X = x;
     position.Y = y;
     spine = new Spine();
 }