diff options
| author | Syndamia <kami02882@gmail.com> | 2019-09-19 18:50:56 +0300 |
|---|---|---|
| committer | Syndamia <kami02882@gmail.com> | 2019-09-19 18:50:56 +0300 |
| commit | 5f05f6ce4c577bbb1c85e63cb6ad2dcda9e069cf (patch) | |
| tree | 8e1ad6fccfa6d28c8e26a2e3e7db410dd6b6772f /Bitspace 2.0 | |
| parent | 0d812232081174c1b7a3e50c03c847eab117cdfa (diff) | |
| download | Shower-5f05f6ce4c577bbb1c85e63cb6ad2dcda9e069cf.tar Shower-5f05f6ce4c577bbb1c85e63cb6ad2dcda9e069cf.tar.gz Shower-5f05f6ce4c577bbb1c85e63cb6ad2dcda9e069cf.zip | |
Update Program.cs
Diffstat (limited to 'Bitspace 2.0')
| -rw-r--r-- | Bitspace 2.0/Bitspace 2.0/Program.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Bitspace 2.0/Bitspace 2.0/Program.cs b/Bitspace 2.0/Bitspace 2.0/Program.cs index e249b19..e738084 100644 --- a/Bitspace 2.0/Bitspace 2.0/Program.cs +++ b/Bitspace 2.0/Bitspace 2.0/Program.cs @@ -12,6 +12,7 @@ namespace Bitspace_2._0 { static void Main(string[] args) { Console.CursorVisible = false; Menu.StartMenu(); + Console.Clear(); for (ulong gameTick = 0; ; gameTick++, Thread.Sleep(80)) { if (Console.KeyAvailable) { @@ -30,7 +31,7 @@ namespace Bitspace_2._0 { } } - if (gameTick % 3 == 0) { + if (gameTick % 4 == 0) { if (Creatures.AllAliveCreatures.Count() > 0) { foreach (var currCreature in Creatures.AllAliveCreatures) { currCreature.GetAffectedByBiome(Map.Biomes.Values.First(b => b.Ground == Map.MapLayer[currCreature.YPos][currCreature.XPos])); |
