mirror of
https://git.tonybark.com/tonytins/CyberBits.git
synced 2026-02-10 09:34:48 -05:00
Refactored Program.cs
- Introduce ResourceFiles.cs with constants for JSON resource paths. - Updated Program.cs to use those constants. - Refactored scene handling to store current scene in a variables. - Added file existence checks and switch quit handling to sys.Environment.Exit. - Updated .editorconfig.
This commit is contained in:
parent
533e1bb076
commit
55044ae4b8
15 changed files with 172 additions and 64 deletions
8
CyberBits/ResourceFiles.cs
Normal file
8
CyberBits/ResourceFiles.cs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
namespace Cyberbits;
|
||||
|
||||
public struct ResourceFiles
|
||||
{
|
||||
public const string COCK_JSON = "resources/cock.json";
|
||||
public const string PUSSY_JSON = "resources/pussy.json";
|
||||
public const string ADDONS_JSON = "resources/addons.json";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue