Exemple #1
0
        public MonoGameRenderer(Scene scene)
        {
            this.scene = scene;

            cursor = SpriteFactory.CreateCursor(content);

            background = SpriteFactory.CreateBackground(content, scene);
            header     = SpriteFactory.CreateHeader(scene);
            footer     = SpriteFactory.CreateFooter(scene);

            PaddleUI = SpriteFactory.CreatePaddle(content);
            BallUI   = SpriteFactory.CreateBall(content);
            powerups = SpriteFactory.CreatePowerups(content);

            Blocks        = SpriteFactory.CreateBlocks(content);
            skeletonBlock = SpriteFactory.CreateSkeletonBlock(content);
        }
Exemple #2
0
 public override void InitializeBall(Ball ball, BallUI ballUI)
 {
     _ball   = ball;
     _ballUI = ballUI;
 }
 public abstract void InitializeBall(Ball ball, BallUI ballUI);