Skip to content

Commit

Permalink
Merge pull request #590 from SoPra18-07/Actual-Resources
Browse files Browse the repository at this point in the history
Actual starting Resources
  • Loading branch information
fkarg committed Jul 27, 2018
2 parents 13aa883 + 283b201 commit 33da9c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Singularity/Singularity/Screen/ScreenClasses/GameScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ private void SettlerBuild(object sender, EventArgs eventArgs, Vector2 v, Settler
var genUnit3 = new GeneralUnit(cCenter, ref mDirector);
AddObject(genUnit3);

// /*
/* This is only for Debug
var beginRes = new Dictionary<EResourceType, int>
{
{EResourceType.Metal, 100},
Expand All @@ -529,7 +529,7 @@ private void SettlerBuild(object sender, EventArgs eventArgs, Vector2 v, Settler
{EResourceType.Trash, 2}
}; // */

// var beginRes = new Dictionary<EResourceType, int> {{EResourceType.Metal, 12}, {EResourceType.Stone, 8}};
var beginRes = new Dictionary<EResourceType, int> {{EResourceType.Metal, 12}, {EResourceType.Stone, 8}};

foreach (var pair in beginRes)
{
Expand All @@ -539,7 +539,7 @@ private void SettlerBuild(object sender, EventArgs eventArgs, Vector2 v, Settler
/* cCenter.StoreResource(new Resource(pair.Key, cCenter.Center, mDirector));
cCenter.StoreResource(new Resource(pair.Key, cCenter.Center, mDirector));
cCenter.StoreResource(new Resource(pair.Key, cCenter.Center, mDirector));
cCenter.StoreResource(new Resource(pair.Key, cCenter.Center, mDirector));*/
cCenter.StoreResource(new Resource(pair.Key, cCenter.Center, mDirector)); */
}
}

Expand Down

0 comments on commit 33da9c8

Please sign in to comment.