Ejemplo n.º 1
0
 internal override bool OnDrawMessage(DrawMessage drawMessage)
 {
     var player = GameData.Player;
     var location = player.Location;
     var map = GameData.World.GetMap(location.Atlas, location.AtlasColumn, location.AtlasRow, location.Map);
     HandleMessage(new RenderMapMessage(map, 0, 0, 15, 15));
     return true;
 }
 internal override bool OnDrawMessage(DrawMessage drawMessage)
 {
     throw new NotImplementedException();
 }
 internal override bool OnDrawMessage(DrawMessage drawMessage)
 {
     HandleMessage(new SetScaleMessage(2.5f, 2.5f, 1.0f));
     //IEnumerable<RenderTextMessage> messages;
     //_renderTextDictionary.TryGetValue(CurrentNotification, out messages);
     foreach (var textMessage in _textMessages)
     {
         HandleMessage(textMessage);
     }
     foreach (var imageMessage in _imageMessages)
     {
         HandleMessage(imageMessage);
     }
     HandleMessage(new SetScaleMessage(5f, 5f, 1.0f));
     return true;
 }
Ejemplo n.º 4
0
 internal abstract bool OnDrawMessage(DrawMessage drawMessage);
Ejemplo n.º 5
0
 private bool OnDrawMessage(DrawMessage drawMessage)
 {
     HandleMessage(new RenderTextMessage(Text));
     return true;
 }