forked from External/mage
17 lines
485 B
Java
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());
|
|
}
|
|
}
|