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"; }
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"; }
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); }
public ColorTile(TileImages tileImage) { TileImage = tileImage; }
public PathExitTile(TileImages tileImage, Paths path) { TileImage = tileImage; Path = path; }
public CharacterTile(TileImages tileImage) { TileImage = tileImage; }
public PathEnterenceTile(TileImages tileImage, Paths path) { TileImage = tileImage; Path = path; }
public StickyTile(TileImages tileImage) { TileImage = tileImage; }