Esempio n. 1
0
 public DungeonLayer(Point _enterCoords)
 {
     Ambient      = new FColor(0, 0, 0.01f, 0.01f);
     EnterCoords  = _enterCoords;
     FogColor     = FColor.FromArgb(255, 100, 100, 100);
     FogLightness = FogColor.Lightness();
 }
Esempio n. 2
0
 protected WorldLayer()
 {
     Blocks       = new Dictionary <Point, MapBlock>();
     FogColor     = FColor.FromArgb(255, 60, 60, 60);
     FogLightness = FogColor.Lightness() / 2;
     ///6;
 }
Esempio n. 3
0
 public MainUiBlock(int _width, int _height)
     : base(new Rct(0, 0, _width, _height), null, FColor.White)
 {
     m_messages = new TurnMessageUiBlock(new Rct(Rct.Left, 0, Rct.Width, MESSAGES_HEIGHT))
     {
         BackgroundColor = FColor.FromArgb(255, 30, 30, 30)
     };
     m_map   = new MapUiBlock(new Rct(ContentRct.Left, m_messages.Rct.Height, Rct.Width, Rct.Height - m_messages.Rct.Height - STAT_HEIGHT));
     m_stats = new StatsBlock(new Rct(0, Rct.Bottom - STAT_HEIGHT + 1, Rct.Width, STAT_HEIGHT))
     {
         BackgroundColor = FColor.FromArgb(255, 0, 30, 30)
     };
 }