private void InitBallParts()
 {
     circ2      = new CollisionCircleD();
     flightPath = new FlightPath();
     flightPath.Load();
     launchButton = new Button01();
 }
Exemplo n.º 2
0
        public GameBall04(Size gameScreenSize)
            : base()
        {
            clsName             = "GameBall04";
            this.gameScreenSize = gameScreenSize;
            btnLaunch           = new Button01();
            startPosition       = new PointD();
            mousePos            = new PointD();
            gtimer   = new GameTimer();
            aimTraj  = new Trajectory03();
            spinTraj = new Trajectory03();
            spinTraj.SetXColor(Color.AntiqueWhite);
            aimTraj.NameTag          = "aimTraj";
            spinTraj.NameTag         = "spinTraj";
            aimTraj.ShowStartMakrer  = false;
            spinTraj.ShowStartMakrer = false;

            bc = new BounceController();
        }