Created
July 22, 2012 11:24
-
-
Save Bocom/3159368 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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