2014-02-02 18:39:08 -03:00
|
|
|
package com.droidquest.decorations;
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
2014-04-09 00:04:44 -03:00
|
|
|
public class TextBox implements Serializable {
|
|
|
|
public String textString;
|
|
|
|
public int x; // Position
|
|
|
|
public int y;
|
|
|
|
public int width; // Size
|
2014-02-02 18:39:08 -03:00
|
|
|
|
2014-04-09 00:04:44 -03:00
|
|
|
public TextBox() {
|
|
|
|
}
|
2014-02-02 18:39:08 -03:00
|
|
|
|
2014-04-09 00:04:44 -03:00
|
|
|
public TextBox(String t, int X, int Y, int W) {
|
|
|
|
textString = t;
|
|
|
|
x = X;
|
|
|
|
y = Y;
|
|
|
|
width = W;
|
|
|
|
}
|
2014-02-02 18:39:08 -03:00
|
|
|
|
2014-04-09 00:04:44 -03:00
|
|
|
public TextBox(String t, int X, int Y) {
|
|
|
|
textString = t;
|
|
|
|
x = X;
|
|
|
|
y = Y;
|
|
|
|
width = 500;
|
|
|
|
}
|
2014-02-02 18:39:08 -03:00
|
|
|
|
|
|
|
}
|