diff --git a/haxelib.json b/haxelib.json index b7cc0e4..ac6d904 100644 --- a/haxelib.json +++ b/haxelib.json @@ -3,11 +3,10 @@ "license": "Apache", "tags": ["cross","haxe","random","game"], "description": "Pseudorandom number generator", - "contributors": ["flashultra"], + "contributors": ["flashultra", "NQNStudios"], + "classPath": "src/", "releasenote": "Initial version", "version": "0.0.1", "url": "https://github.com/flashultra/hxprng", - "dependencies": { - - } + "main": "sample.Main" } diff --git a/src/PCG32.hx b/src/hxprng/PCG32.hx similarity index 95% rename from src/PCG32.hx rename to src/hxprng/PCG32.hx index ca45ac2..2a225dd 100644 --- a/src/PCG32.hx +++ b/src/hxprng/PCG32.hx @@ -21,6 +21,8 @@ * http://www.pcg-random.org */ +package hxprng; + import haxe.Timer; import haxe.Int32; import haxe.Int64; diff --git a/sample/Main.hx b/src/sample/Main.hx similarity index 80% rename from sample/Main.hx rename to src/sample/Main.hx index 1fc8717..da82253 100644 --- a/sample/Main.hx +++ b/src/sample/Main.hx @@ -1,3 +1,7 @@ +package sample; + +import hxprng.PCG32; + class Main { static function main() {