Changed action cards logic. x7
This commit is contained in:
parent
2c8051ef00
commit
9d4dd65af0
@ -6,12 +6,17 @@ import lombok.AllArgsConstructor;
|
|||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
|
||||||
@AllArgsConstructor
|
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
public abstract class ActionCard {
|
public abstract class ActionCard {
|
||||||
BunkerBot bot;
|
BunkerBot bot;
|
||||||
Player activator;
|
Player activator;
|
||||||
|
|
||||||
|
public ActionCard(BunkerBot bot, Player activator) {
|
||||||
|
this.bot = bot;
|
||||||
|
this.activator = activator;
|
||||||
|
}
|
||||||
|
|
||||||
public abstract void execute();
|
public abstract void execute();
|
||||||
|
|
||||||
public abstract String getName();
|
public abstract String getName();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user