Created
July 15, 2012 03:34
-
-
Save SwipeX/3114805 to your computer and use it in GitHub Desktop.
LogEntry for use with RSBot
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
/* | |
* Copyright (c) 2012. Redex Scripting - Unauthorized use prohibited by author. | |
*/ | |
import java.awt.*; | |
/** | |
* Created by IntelliJ IDEA. | |
* User: Swipe | |
* Date: 7/14/12 | |
* Time: 10:19 PM | |
* To change this template use File | Settings | File Templates. | |
*/ | |
public class LogEntry { | |
public String text; | |
public Color color; | |
public long timeSent; | |
public int alpha = 255; | |
public LogEntry(String text, Color color) { | |
this.text = text; | |
this.color = color; | |
timeSent = System.currentTimeMillis(); | |
} | |
public String getText() { | |
return text; | |
} | |
public void setText(String text) { | |
this.text = text; | |
} | |
public Color getColor() { | |
return color; | |
} | |
public void setColor(Color color) { | |
this.color = color; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment