Exemplo n.º 1
0
 public BowserPhysics(IBowser bowser)
 {
     Bowser       = bowser;
     GravityCoef  = PhysicsUtilites.BowserGravityCoef;
     MaxPosition  = new Vector2(PhysicsUtilites.XMaxPosition, PhysicsUtilites.YMaxPosition);
     MinPosition  = new Vector2(PhysicsUtilites.XMinPosition, PhysicsUtilites.YMinPosition);
     XMaxVelocity = PhysicsUtilites.BowserMaxVelocityX;
     YMaxVelocity = PhysicsUtilites.BowserMaxVelocityY;
     XMinVelocity = PhysicsUtilites.BowserMinVelocityX;
     YMinVelocity = PhysicsUtilites.BowserMinVelocityY;
     XVelocity    = PhysicsUtilites.BowserInitVelocity;
     YVelocity    = 0;
 }
 public BowserBlockCollisionHandler(IBowser bowser)
 {
     this.bowser = bowser;
 }
Exemplo n.º 3
0
 public BowserBlockCollision(IBowser bowser)
 {
     this.bowser = bowser;
 }