コード例 #1
0
ファイル: DungeonLayer.cs プロジェクト: Foxbow74/my-busycator
 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();
 }
コード例 #2
0
ファイル: WorldLayer.cs プロジェクト: Foxbow74/my-busycator
 protected WorldLayer()
 {
     Blocks       = new Dictionary <Point, MapBlock>();
     FogColor     = FColor.FromArgb(255, 60, 60, 60);
     FogLightness = FogColor.Lightness() / 2;
     ///6;
 }
コード例 #3
0
ファイル: MainUiBlock.cs プロジェクト: Foxbow74/my-busycator
 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)
     };
 }