From 47f5a6d3c41e53553d1a6e783e3e2ee58bb21b2c Mon Sep 17 00:00:00 2001 From: matt123337 Date: Wed, 16 Jul 2014 14:07:27 -0400 Subject: [PATCH] Create ActionEvent.java --- .../rev317/min/api/events/ActionEvent.java | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/org/rev317/min/api/events/ActionEvent.java diff --git a/src/org/rev317/min/api/events/ActionEvent.java b/src/org/rev317/min/api/events/ActionEvent.java new file mode 100644 index 0000000..6cab88a --- /dev/null +++ b/src/org/rev317/min/api/events/ActionEvent.java @@ -0,0 +1,31 @@ +package org.rev317.min.api.events; + +public final class ActionEvent{ + private int index,cmd1,cmd2,cmd3,action; + + public ActionEvent(int action,int cmd1,int cmd2, int cmd3,int index){ + this.action = action; + this.cmd1 = cmd1; + this.cmd2 = cmd2; + this.cmd3 = cmd3; + this.index = index; + } + + public int getCmd1(){ + return cmd1; + } + + public int getCmd2(){ + return cmd2; + } + + public int getCmd3(){ + return cmd3; + } + + public int getAction(){ + return acrtion; + } + + +}