コード例 #1
0
        }                                                                   ///@property(readwrite,assign) float speedOutOfBlocks;

//public void SetBaseSpeed(float inThing) {baseSpeed = inThing;}///@property(readwrite,assign) float baseSpeed;

        public RacingBrain()
        {
            //if (!base.init()) return null;

            racingLine       = new RacingLine();
            baseSpeed        = -1.0f;
            maxSlowdown      = 0.0f;
            maxCatchup       = 0.0f;
            speedOutOfBlocks = 0.073f;
            //return this;
        }
コード例 #2
0
        }                                                               ///@property(readwrite,assign) CGPoint skidDirection;

        public void SetRacingLine(RacingLine inThing)
        {
            racingLine = inThing;
        }                                                            ////@property(readwrite,assign) RacingLine* racingLine;