Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Element {
- final String ID;
- int state;
- Square geom;
- public Element(String ID, int state, Square geom){
- this.ID = ID;
- this.state = state;
- this.geom = geom;
- }
- public void triggerEvent() {
- System.out.println(ID);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement