22 lines
406 B
Java
22 lines
406 B
Java
|
package com.yaohun.enderdragonWars.effect;
|
||
|
|
||
|
import com.yaohun.enderdragonWars.game.Game;
|
||
|
|
||
|
public abstract class GiftEffect {
|
||
|
private String audience;
|
||
|
|
||
|
public GiftEffect(String audience) {
|
||
|
this.audience = audience;
|
||
|
}
|
||
|
|
||
|
public String getAudience() {
|
||
|
return audience;
|
||
|
}
|
||
|
|
||
|
public abstract void apply(Game game);
|
||
|
|
||
|
public int getQueueTime() {
|
||
|
return 20;
|
||
|
}
|
||
|
}
|