public CharacterDecorator(Character word)
     : base(word.Position, word.Font, word.Text)
 {
     baseWord = word;
 }
 public ColoredCharacter(Character word, Color c)
     : base(word)
 {
     color = c;
 }
 public ShadowedCharacter(Character word, Color color, Vector2 offset)
     : base(word)
 {
     shadowColor = color;
     shadowOffset = offset;
 }
Beispiel #4
0
 bool WordIsVisible(Character word)
 {
     return TextArea.Contains(word.Area);
 }