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 foregroundFov, Color background, Color backgroundFov) { CellProperties = new EmberCellProperties { NormalForeground = foreground, NormalBackground = background, ForegroundFov = foregroundFov, BackgroundFov = backgroundFov, Walkable = true, BlocksFov = false, IsExplored = false }; Position = position; Glyph = glyph; Foreground = foreground; Background = background; LightProperties = new LightEngineProperties(); EffectProperties = new EmberEffectProperties(); }