Rename and clean up MapleEvent

This commit is contained in:
P0nk
2021-09-09 21:55:40 +02:00
parent 7f9c8d997b
commit bfc37a345d
6 changed files with 14 additions and 15 deletions

View File

@@ -35,7 +35,7 @@ import java.util.List;
* @author kevintjuh93
*/
//Make them better :)
public class Coconut extends MapleEvent {
public class Coconut extends Event {
private MapleMap map = null;
private int MapleScore = 0;
private int StoryScore = 0;

View File

@@ -23,14 +23,13 @@
package server.events.gm;
/**
*
* @author kevintjuh93
*/
public class MapleEvent {
private int mapid;
public class Event {
private final int mapid;
private int limit;
public MapleEvent(int mapid, int limit) {
public Event(int mapid, int limit) {
this.mapid = mapid;
this.limit = limit;
}