Created
August 3, 2019 07:54
-
-
Save elktros/415d48cdef725a9d462bb1c5fb05c2fe to your computer and use it in GitHub Desktop.
Quadruped_Robot_Message
This file contains 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 Message { | |
private String text; | |
private boolean belongsToCurrentUser; | |
public Message(String text, boolean belongsToCurrentUser) { | |
this.text = text; | |
this.belongsToCurrentUser = belongsToCurrentUser; | |
} | |
public String getText() { | |
return text; | |
} | |
public boolean isBelongsToCurrentUser() { | |
return belongsToCurrentUser; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment