Beispiel #1
0
        public LocalPlayer(Game game) : base(game)
        {
            DisplayName = game.Username;
            SkinName    = game.Username;

            collisions    = new CollisionsComponent(game, this);
            Hacks         = new HacksComponent(game);
            physics       = new PhysicsComponent(game, this);
            sound         = new SoundComponent(game, this);
            interp        = new LocalInterpComponent(game, this);
            tilt          = new TiltComponent(game);
            physics.hacks = Hacks; physics.collisions = collisions;
        }