added constructor without data[]

master
melvin 2012-08-30 20:39:25 +08:00
parent dab3e28557
commit 0a8a793e48
1 changed files with 9 additions and 0 deletions

View File

@ -94,6 +94,15 @@ public class MagicEvent implements MagicCopyable {
this(source,player,choice,MagicDefaultTargetPicker.create(),data,action,description); this(source,player,choice,MagicDefaultTargetPicker.create(),data,action,description);
} }
public MagicEvent(
final MagicSource source,
final MagicPlayer player,
final MagicChoice choice,
final MagicEventAction action,
final String description) {
this(source,player,choice,MagicDefaultTargetPicker.create(),NO_DATA,action,description);
}
public MagicEvent( public MagicEvent(
final MagicSource source, final MagicSource source,
final MagicPlayer player, final MagicPlayer player,