-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix random walk and eat and drink logic * Clean up
- Loading branch information
Showing
11 changed files
with
309 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using Mars.Components.Layers; | ||
using Mars.Interfaces.Environments; | ||
|
||
namespace GeoRasterBlueprint.Model; | ||
|
||
/// <summary> | ||
/// Represents water spots in the Elk Island National Park. | ||
/// </summary> | ||
public class RasterWaterLayer : RasterLayer { | ||
|
||
public bool IsPointInside(Position position) { | ||
return Extent.Contains(position.X, position.Y) && GetValue(position) == 0; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using Mars.Components.Layers; | ||
using NetTopologySuite.Geometries; | ||
using Position = Mars.Interfaces.Environments.Position; | ||
|
||
namespace GeoRasterBlueprint.Model; | ||
|
||
/// <summary> | ||
/// Represents water spots in the Elk Island National Park. | ||
/// </summary> | ||
public class VectorWaterLayer : VectorLayer { | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.