added basic setting persistence system
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using RhythmBullet.Zer01HD.Utilities.Persistence;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@@ -6,11 +7,12 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace RhythmBullet.Zer01HD.Game.Preferences
|
||||
{
|
||||
class Controls
|
||||
public class Controls : IPreferences
|
||||
{
|
||||
public int Forward;
|
||||
public int Backward;
|
||||
public int Left;
|
||||
public int Right;
|
||||
public int Shoot;
|
||||
}
|
||||
}
|
||||
|
@@ -3,14 +3,18 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using RhythmBullet.Zer01HD.Utilities;
|
||||
using RhythmBullet.Zer01HD.Utilities.Persistence;
|
||||
|
||||
namespace RhythmBullet.Zer01HD.Game.Preferences
|
||||
{
|
||||
class General
|
||||
public class General : IPreferences
|
||||
{
|
||||
public Resolution Resolution;
|
||||
public bool Fullscreen;
|
||||
public float MusicVolume;
|
||||
public float FXVolume;
|
||||
public string MusicDirectory;
|
||||
public string GameDirectory;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user