public GameObject() { Settings = new List<Setting>(); Character = new CellAppearance(); Character.CharacterIndex = 1; Name = "New"; }
/// <summary> /// Creates a new instance of the ColoredString class with the specified string value, foreground and background colors, and a cell effect. /// </summary> /// <param name="value">The backing string.</param> /// <param name="appearance">The appearance to use for each character.</param> public ColoredString(string value, CellAppearance appearance) : this(value, appearance.Foreground, appearance.Background, appearance.SpriteEffect) { }
public void RefreshTool() { lineStyle = new CellAppearance(CharacterPickPanel.SharedInstance.SettingForeground, CharacterPickPanel.SharedInstance.SettingBackground, CharacterPickPanel.SharedInstance.SettingCharacter, CharacterPickPanel.SharedInstance.SettingMirrorEffect); lineStyle.CopyAppearanceTo(lineCell); }
public void RefreshTool() { borderAppearance = new CellAppearance(CharacterPickPanel.SharedInstance.SettingForeground, CharacterPickPanel.SharedInstance.SettingBackground, CharacterPickPanel.SharedInstance.SettingCharacter, CharacterPickPanel.SharedInstance.SettingMirrorEffect); }
/// <summary> /// Creates a new instance of the ColoredString class with the specified string value, foreground and background colors, and a cell effect. /// </summary> /// <param name="value">The backing string.</param> /// <param name="appearance">The appearance to use for each character.</param> public ColoredString(string value, CellAppearance appearance) : this(value, appearance.Foreground, appearance.Background, null) { }