public EmberCell() { CellProperties = new EmberCellProperties { NormalForeground = Color.White, ForegroundFov = Color.Lerp(Foreground, Color.Black, .5f), Walkable = true, BlocksFov = false, }; Foreground = Color.White; Background = Color.Black; Glyph = '.'; LightProperties = new LightEngineProperties(); }
public EmberCell(Point position, int glyph, Color foreground, Color fov, Color background) { CellProperties = new EmberCellProperties { NormalForeground = foreground, ForegroundFov = fov, Walkable = true, BlocksFov = false, }; Position = position; Glyph = glyph; Foreground = foreground; Background = background; LightProperties = new LightEngineProperties(); }
public EmberCell() { CellProperties = new EmberCellProperties { NormalForeground = Color.White, NormalBackground = Color.Black, ForegroundFov = Color.Lerp(Color.White, Color.Black, .5f), BackgroundFov = Color.Black, Walkable = true, BlocksFov = false, IsExplored = false }; Glyph = ' '; LightProperties = new LightEngineProperties(); EffectProperties = new EmberEffectProperties(); Foreground = CellProperties.NormalForeground; Background = CellProperties.NormalBackground; }
public EmberCell(Point position, int glyph, Color foreground, Color fov) { CellProperties = new EmberCellProperties { NormalForeground = foreground, NormalBackground = Color.Black, ForegroundFov = fov, BackgroundFov = Color.Black, Walkable = true, BlocksFov = false, IsExplored = false }; Position = position; Glyph = glyph; Foreground = foreground; Background = Color.Black; LightProperties = new LightEngineProperties(); EffectProperties = new EmberEffectProperties(); }