foul-magics/Mage/src/main/java/mage/game/events/CreatedTokenEvent.java
2021-07-09 07:36:40 +04:00

17 lines
485 B
Java

package mage.game.events;
import mage.abilities.Ability;
import mage.game.permanent.PermanentToken;
public class CreatedTokenEvent extends GameEvent {
/**
* Single token per event (if token created and was put to battlefield)
*
* @param source
* @param tokenPerm
*/
public CreatedTokenEvent(Ability source, PermanentToken tokenPerm) {
super(GameEvent.EventType.CREATED_TOKEN, tokenPerm.getId(), source, tokenPerm.getControllerId());
}
}