Changeset 37531 for lang/csharp
- Timestamp:
- 05/14/10 22:00:24 (3 years ago)
- Location:
- lang/csharp/DominionEngine
- Files:
-
- 1 added
- 2 modified
- 1 moved
-
DominionEngine.CardInfo.Base/DominionEngine.CardInfo.Base.csproj (modified) (1 diff)
-
DominionEngine.CardInfo.Base/Moneylender.cs (moved) (moved from lang/csharp/DominionEngine/DominionEngine.CardInfo.Base/NotImplemented/Moneylender.cs) (1 diff)
-
DominionEngine.CardInfo.Test/Base/MoneylenderTest.cs (added)
-
DominionEngine.CardInfo.Test/DominionEngine.CardInfo.Test.csproj (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/csharp/DominionEngine/DominionEngine.CardInfo.Base/DominionEngine.CardInfo.Base.csproj
r37525 r37531 56 56 <Compile Include="Militia.cs" /> 57 57 <Compile Include="Mine.cs" /> 58 <Compile Include="Moneylender.cs" /> 58 59 <Compile Include="NotImplemented\Adventurer.cs" /> 59 60 <Compile Include="NotImplemented\Bureaucrat.cs" /> 60 61 <Compile Include="NotImplemented\Library.cs" /> 61 62 <Compile Include="NotImplemented\Moat.cs" /> 62 <Compile Include="NotImplemented\Moneylender.cs" />63 63 <Compile Include="NotImplemented\Spy.cs" /> 64 64 <Compile Include="NotImplemented\Thief.cs" /> -
lang/csharp/DominionEngine/DominionEngine.CardInfo.Base/Moneylender.cs
r37522 r37531 13 13 { 14 14 //Trash a Copper from your hand. 15 var trashCard = Player.Choose(CardPosition.Hand, 1,cardinfo => cardinfo is Copper);15 var trashCard = Player.Choose(CardPosition.Hand, cardinfo => cardinfo is Copper); 16 16 trashCard.Trash(); 17 17 //If you do, +3 Coin. 18 if (trashCard.Count == 0) return; 19 Player.Coin += 3; 20 21 //ChoosenCard trashedCard = Trash<Copper>(From.YourHand); 22 //if (trashedCard != null) Player.Coin += 3; 18 if (trashCard.Count == 1) Player.Coin += 3; 23 19 } 24 20 } -
lang/csharp/DominionEngine/DominionEngine.CardInfo.Test/DominionEngine.CardInfo.Test.csproj
r37518 r37531 53 53 <Compile Include="Base\WitchTest.cs" /> 54 54 <Compile Include="Base\FeastTest.cs" /> 55 <Compile Include="Base\MoneylenderTest.cs" /> 55 56 <Compile Include="CardInfoResourcesTest.cs" /> 56 57 <Compile Include="DDL\CardTest.cs" />
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)