Browse Source

Added random seed to IMapDataGenerator

James Peret 1 year ago
parent
commit
1c0f331e92
2 changed files with 2 additions and 0 deletions
  1. 1 0
      Readme.md
  2. 1 0
      Runtime/IMapDataGenerator.cs

+ 1 - 0
Readme.md

@@ -29,6 +29,7 @@ This contains the base code that other packages will use. It includes code for t
 - Added Tag Attribute
 - Added Layer Attribute
 - Added Vector3 Generic Event
+- Added random seed to IMapDataGenerator
 
 ##### v0.2.6
 - Added the Cronometer utility

+ 1 - 0
Runtime/IMapDataGenerator.cs

@@ -6,6 +6,7 @@ namespace KairoEngine.Core
 {
     public interface IMapDataGenerator
     {
+        public void SetSeed(int newSeed);
         public float SamplePoint(float x, float y);
         public uint SamplePointColor(float x, float y, float value);
     }