Esempio n. 1
0
        public FPGame(float width, float height)
        {
            gameObjects = new List<FPGameObject>();
            player = new FPPlayer(width, height);

            InputAcceleration = PointF.Empty;
            Width = width;
            Height = height;
            backgroundOffset = PointF.Empty;

            diamondsPicked = 0;
            diamondsCount = 0;
        }
 public FPGameObject Duplicate(float offsetX, float offsetY)
 {
     FPPlayer duplicated = new FPPlayer();
     duplicated.Move(X + offsetX, Y + offsetY);
     return duplicated;
 }