Пример #1
0
        public void AddFlyingScore(int num, int x, int y, double time)
        {
            ScoreFlying fs = new ScoreFlying();

            fs.Score     = num;
            fs.Position  = new Point(x, y);
            fs.StartTime = time;

            //add flying score to list of flying scores
            FlyingScores.Add(fs);

            //Add score to total score
            AddToScore(num);
        }
Пример #2
0
        public void AddFlyingScore(int num, int x, int y, double time)
        {
            ScoreFlying fs = new ScoreFlying();

            fs.Score = num;
            fs.Position = new Point(x, y);
            fs.StartTime = time;

            //add flying score to list of flying scores
            FlyingScores.Add(fs);

            //Add score to total score
            AddToScore(num);
        }