Skip to content

Instantly share code, notes, and snippets.

@Bocom
Created July 22, 2012 11:24
Show Gist options
  • Save Bocom/3159368 to your computer and use it in GitHub Desktop.
Save Bocom/3159368 to your computer and use it in GitHub Desktop.
public class DialogueTextChar
{
public Color color;
public String message;
public Vector2 position;
public bool shake;
public DialogueTextChar()
{
this.message = "";
this.color = Color.White;
this.position = new Vector2();
this.shake = false;
}
public DialogueTextChar(string message)
: this()
{
this.message = message;
}
public DialogueTextChar(string message, Color color)
: this(message)
{
this.color = color;
}
public DialogueTextChar(string message, Color color, Vector2 position)
: this(message, color)
{
this.position = position;
}
public DialogueTextChar(string message, Color color, Vector2 position,
bool shake)
: this(message, color, position)
{
this.shake = shake;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment