From fe15dd8059070fe158e2e14748420a91febda334 Mon Sep 17 00:00:00 2001 From: Loki Date: Fri, 1 Apr 2011 15:41:01 +0300 Subject: [PATCH] Guru Lands - very beautiful, as for me --- Mage.Sets/src/mage/sets/Guru.java | 19 ++++++++ Mage.Sets/src/mage/sets/Sets.java | 1 + Mage.Sets/src/mage/sets/guru/Forest.java | 51 ++++++++++++++++++++ Mage.Sets/src/mage/sets/guru/Island.java | 53 +++++++++++++++++++++ Mage.Sets/src/mage/sets/guru/Mountain.java | 54 ++++++++++++++++++++++ Mage.Sets/src/mage/sets/guru/Plains.java | 53 +++++++++++++++++++++ Mage.Sets/src/mage/sets/guru/Swamp.java | 53 +++++++++++++++++++++ 7 files changed, 284 insertions(+) create mode 100644 Mage.Sets/src/mage/sets/Guru.java create mode 100644 Mage.Sets/src/mage/sets/guru/Forest.java create mode 100644 Mage.Sets/src/mage/sets/guru/Island.java create mode 100644 Mage.Sets/src/mage/sets/guru/Mountain.java create mode 100644 Mage.Sets/src/mage/sets/guru/Plains.java create mode 100644 Mage.Sets/src/mage/sets/guru/Swamp.java diff --git a/Mage.Sets/src/mage/sets/Guru.java b/Mage.Sets/src/mage/sets/Guru.java new file mode 100644 index 0000000000..3d472427b8 --- /dev/null +++ b/Mage.Sets/src/mage/sets/Guru.java @@ -0,0 +1,19 @@ +package mage.sets; + +import mage.Constants; +import mage.cards.ExpansionSet; + +import java.util.GregorianCalendar; + +public class Guru extends ExpansionSet { + private static final Guru fINSTANCE = new Guru(); + + public static Guru getInstance() { + return fINSTANCE; + } + + private Guru() { + //TODO find correct release date, wiki don't known anything about this expansion + super("Guru", "GURU", "", "mage.sets.guru", new GregorianCalendar(2000, 1, 1).getTime(), Constants.SetType.REPRINT); + } +} diff --git a/Mage.Sets/src/mage/sets/Sets.java b/Mage.Sets/src/mage/sets/Sets.java index 0c402de5b0..7ccefd8e66 100644 --- a/Mage.Sets/src/mage/sets/Sets.java +++ b/Mage.Sets/src/mage/sets/Sets.java @@ -72,6 +72,7 @@ public class Sets extends HashMap { this.addSet(Dissension.getInstance()); this.addSet(ElspethvsTezzeret.getInstance()); this.addSet(Guildpact.getInstance()); + this.addSet(Guru.getInstance()); this.addSet(Magic2010.getInstance()); this.addSet(Magic2011.getInstance()); this.addSet(Mirrodin.getInstance()); diff --git a/Mage.Sets/src/mage/sets/guru/Forest.java b/Mage.Sets/src/mage/sets/guru/Forest.java new file mode 100644 index 0000000000..af4d959c6d --- /dev/null +++ b/Mage.Sets/src/mage/sets/guru/Forest.java @@ -0,0 +1,51 @@ +/* + * Copyright 2010 BetaSteward_at_googlemail.com. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are + * permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this list of + * conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright notice, this list + * of conditions and the following disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY BetaSteward_at_googlemail.com ``AS IS'' AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BetaSteward_at_googlemail.com OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * The views and conclusions contained in the software and documentation are those of the + * authors and should not be interpreted as representing official policies, either expressed + * or implied, of BetaSteward_at_googlemail.com. + */ + +package mage.sets.guru; + +import java.util.UUID; + +/** + * User: Loki + */ +public class Forest extends mage.cards.basiclands.Forest { + + public Forest(UUID ownerId) { + super(ownerId, 1); + this.expansionSetCode = "GURU"; + } + + public Forest(final Forest card) { + super(card); + } + + @Override + public Forest copy() { + return new Forest(this); + } +} diff --git a/Mage.Sets/src/mage/sets/guru/Island.java b/Mage.Sets/src/mage/sets/guru/Island.java new file mode 100644 index 0000000000..b64f984435 --- /dev/null +++ b/Mage.Sets/src/mage/sets/guru/Island.java @@ -0,0 +1,53 @@ +/* + * Copyright 2010 BetaSteward_at_googlemail.com. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are + * permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this list of + * conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright notice, this list + * of conditions and the following disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY BetaSteward_at_googlemail.com ``AS IS'' AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BetaSteward_at_googlemail.com OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * The views and conclusions contained in the software and documentation are those of the + * authors and should not be interpreted as representing official policies, either expressed + * or implied, of BetaSteward_at_googlemail.com. + */ + +package mage.sets.guru; + +import java.util.UUID; + +/** + * + * @author BetaSteward_at_googlemail.com + */ +public class Island extends mage.cards.basiclands.Island { + + public Island(UUID ownerId) { + super(ownerId, 2); + this.expansionSetCode = "GURU"; + } + + public Island(final Island card) { + super(card); + } + + @Override + public Island copy() { + return new Island(this); + } + +} diff --git a/Mage.Sets/src/mage/sets/guru/Mountain.java b/Mage.Sets/src/mage/sets/guru/Mountain.java new file mode 100644 index 0000000000..54c4fd2c10 --- /dev/null +++ b/Mage.Sets/src/mage/sets/guru/Mountain.java @@ -0,0 +1,54 @@ +/* + * Copyright 2010 BetaSteward_at_googlemail.com. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are + * permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this list of + * conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright notice, this list + * of conditions and the following disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY BetaSteward_at_googlemail.com ``AS IS'' AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BetaSteward_at_googlemail.com OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * The views and conclusions contained in the software and documentation are those of the + * authors and should not be interpreted as representing official policies, either expressed + * or implied, of BetaSteward_at_googlemail.com. + */ + +package mage.sets.guru; + +import java.util.UUID; + +/** + * + * @author BetaSteward_at_googlemail.com + */ +public class Mountain extends mage.cards.basiclands.Mountain { + + public Mountain(UUID ownerId) { + super(ownerId, 3); + this.expansionSetCode = "GURU"; + } + + public Mountain(final Mountain card) { + super(card); + } + + @Override + public Mountain copy() { + return new Mountain(this); + } + +} + diff --git a/Mage.Sets/src/mage/sets/guru/Plains.java b/Mage.Sets/src/mage/sets/guru/Plains.java new file mode 100644 index 0000000000..2052c031c7 --- /dev/null +++ b/Mage.Sets/src/mage/sets/guru/Plains.java @@ -0,0 +1,53 @@ +/* + * Copyright 2010 BetaSteward_at_googlemail.com. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are + * permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this list of + * conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright notice, this list + * of conditions and the following disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY BetaSteward_at_googlemail.com ``AS IS'' AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BetaSteward_at_googlemail.com OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * The views and conclusions contained in the software and documentation are those of the + * authors and should not be interpreted as representing official policies, either expressed + * or implied, of BetaSteward_at_googlemail.com. + */ + +package mage.sets.guru; + +import java.util.UUID; + +/** + * + * @author BetaSteward_at_googlemail.com + */ +public class Plains extends mage.cards.basiclands.Plains { + + public Plains(UUID ownerId) { + super(ownerId, 4); + this.expansionSetCode = "GURU"; + } + + public Plains(final Plains card) { + super(card); + } + + @Override + public Plains copy() { + return new Plains(this); + } + +} diff --git a/Mage.Sets/src/mage/sets/guru/Swamp.java b/Mage.Sets/src/mage/sets/guru/Swamp.java new file mode 100644 index 0000000000..8f9d4eb360 --- /dev/null +++ b/Mage.Sets/src/mage/sets/guru/Swamp.java @@ -0,0 +1,53 @@ +/* + * Copyright 2010 BetaSteward_at_googlemail.com. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are + * permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this list of + * conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright notice, this list + * of conditions and the following disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY BetaSteward_at_googlemail.com ``AS IS'' AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BetaSteward_at_googlemail.com OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * The views and conclusions contained in the software and documentation are those of the + * authors and should not be interpreted as representing official policies, either expressed + * or implied, of BetaSteward_at_googlemail.com. + */ + +package mage.sets.guru; + +import java.util.UUID; + +/** + * + * @author BetaSteward_at_googlemail.com + */ +public class Swamp extends mage.cards.basiclands.Swamp { + + public Swamp(UUID ownerId) { + super(ownerId, 5); + this.expansionSetCode = "GURU"; + } + + public Swamp(final Swamp card) { + super(card); + } + + @Override + public Swamp copy() { + return new Swamp(this); + } + +}