public override void Load(ContentManager content) { view = new CharacterView(content, stats.animations, 200, 200, 200, 200, stats); model.view = view; view.Scale = 0.6f; view.BoundRect(World, stats.size.X, stats.size.Y); view.BoundBox.UserData = this; view.Layer = 100; view.FramesPerRow = 10; view.BoundBox.Friction = 0; view.BoundBox.IgnoreGravity = true; AddView(view); model.faceRight = true; model.inAir = true; view.BoundBox.CollisionCategories = Category.Cat11; view.BoundBox.CollidesWith = Category.All & ~Category.Cat11; view.BoundBox.OnCollision += Collision; view.BoundBox.OnSeparation += Seperation; view.Position = model.position; pad.OnNavigation += Navigation; pad.OnHitkeyDown += HitKeyDown; pad.OnHitKeyUp += HitKeyUp; pad.OnSuperkeyDown += SuperKeyDown; pad.OnSuperKeyUp += SuperKeyUp; pad.OnShieldkeyDown += ShieldKeyDown; pad.OnShieldKeyUp += ShieldKeyUp; AddController(moves); Screen.soundController.LoadCharacterGameSounds(content, stats); }