Example #1
0
 private void InitializeDefaults()
 {
     DisplayName        = "Counter";
     Description        = "Send push notification message of Tile type, with a counter value. Each time a push notification message is sent, the counter value increases by one, unless user is running the application and notifies the server.";
     BackgroundImageUri = TileImages.Length > 1 ? TileImages[1] : TileImages.FirstOrDefault();
     RawMessage         = "Game Update";
     Count = 0;
     Title = "Updates";
 }
Example #2
0
 private void InitializeDefaults()
 {
     DisplayName        = "Ask to Pin";
     Description        = "Only users can pin a Windows Phone application to the Start screen, therefore if a given application wants to use the tile functionality and the user didn’t pinned the app’s tile, we want to notify the user she is missing additional functionality. This pattern is implemented in both client and server-side.";
     BackgroundImageUri = TileImages.Length > 2 ? TileImages[2] : TileImages.FirstOrDefault();
     Count      = 1;
     Title      = "Game Update";
     RawMessage = "AskToPin";
 }
Example #3
0
        public void AddWallTileImage(string source, double x, double y)
        {
            var wallTileImage = new Image()
            {
                Width  = TileSize,
                Height = TileSize,
                Source = new BitmapImage(new Uri(source, UriKind.Relative))
            };

            TileImages.Add(wallTileImage);
            Canvas.Children.Add(wallTileImage);
            SetPosition(wallTileImage, x, y);
        }
Example #4
0
 public ColorTile(TileImages tileImage)
 {
     TileImage = tileImage;
 }
Example #5
0
 public PathExitTile(TileImages tileImage, Paths path)
 {
     TileImage = tileImage;
     Path      = path;
 }
Example #6
0
 public CharacterTile(TileImages tileImage)
 {
     TileImage = tileImage;
 }
Example #7
0
 public PathEnterenceTile(TileImages tileImage, Paths path)
 {
     TileImage = tileImage;
     Path      = path;
 }
Example #8
0
 public StickyTile(TileImages tileImage)
 {
     TileImage = tileImage;
 }