本文整理匯總了Java中server.events.MapleSurvival類的典型用法代碼示例。如果您正苦於以下問題:Java MapleSurvival類的具體用法?Java MapleSurvival怎麽用?Java MapleSurvival使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
MapleSurvival類屬於server.events包,在下文中一共展示了MapleSurvival類的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: loadEvents
import server.events.MapleSurvival; //導入依賴的package包/類
private final void loadEvents() {
if (!events.isEmpty()) {
return;
}
events.put(MapleEventType.CokePlay, new MapleCoconut(channel, MapleEventType.CokePlay)); //yep, coconut. same shit
events.put(MapleEventType.Coconut, new MapleCoconut(channel, MapleEventType.Coconut));
events.put(MapleEventType.Fitness, new MapleFitness(channel, MapleEventType.Fitness));
events.put(MapleEventType.OlaOla, new MapleOla(channel, MapleEventType.OlaOla));
events.put(MapleEventType.OxQuiz, new MapleOxQuiz(channel, MapleEventType.OxQuiz));
events.put(MapleEventType.Snowball, new MapleSnowball(channel, MapleEventType.Snowball));
events.put(MapleEventType.Survival, new MapleSurvival(channel, MapleEventType.Survival));
}
示例2: loadEvents
import server.events.MapleSurvival; //導入依賴的package包/類
public void loadEvents() {
if (!events.isEmpty()) {
return;
}
events.put(MapleEventType.CokePlay, new MapleCoconut(channel, MapleEventType.CokePlay));
events.put(MapleEventType.Coconut, new MapleCoconut(channel, MapleEventType.Coconut));
events.put(MapleEventType.Fitness, new MapleFitness(channel, MapleEventType.Fitness));
events.put(MapleEventType.OlaOla, new MapleOla(channel, MapleEventType.OlaOla));
events.put(MapleEventType.OxQuiz, new MapleOxQuiz(channel, MapleEventType.OxQuiz));
events.put(MapleEventType.Snowball, new MapleSnowball(channel, MapleEventType.Snowball));
events.put(MapleEventType.Survival, new MapleSurvival(channel, MapleEventType.Survival));
}