Content loading system functioning.
This commit is contained in:
@@ -1,18 +1,14 @@
|
||||
using RhythmBullet.Zer01HD.Utilities.Persistence;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.Xna.Framework.Input;
|
||||
using RhythmBullet.Zer01HD.Utilities.Persistence;
|
||||
|
||||
namespace RhythmBullet.Zer01HD.Game.Preferences
|
||||
{
|
||||
public class Controls : IPreferences
|
||||
public class Controls : Utilities.Persistence.Preferences
|
||||
{
|
||||
public int Forward;
|
||||
public int Backward;
|
||||
public int Left;
|
||||
public int Right;
|
||||
public int Shoot;
|
||||
public Keys Forward = Keys.Up;
|
||||
public Keys Backward = Keys.Down;
|
||||
public Keys Left = Keys.Left;
|
||||
public Keys Right = Keys.Right;
|
||||
public Keys Shoot = Keys.Space;
|
||||
}
|
||||
}
|
||||
|
@@ -1,20 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using RhythmBullet.Zer01HD.Utilities;
|
||||
using System.Xml.Serialization;
|
||||
using RhythmBullet.Zer01HD.Utilities.DataTypes;
|
||||
using RhythmBullet.Zer01HD.Utilities.Persistence;
|
||||
|
||||
namespace RhythmBullet.Zer01HD.Game.Preferences
|
||||
{
|
||||
public class General : IPreferences
|
||||
public class General : Utilities.Persistence.Preferences
|
||||
{
|
||||
public Resolution Resolution;
|
||||
public bool Fullscreen;
|
||||
public float MusicVolume;
|
||||
public float FXVolume;
|
||||
public string MusicDirectory;
|
||||
public string GameDirectory;
|
||||
public Resolution Resolution = new Resolution(1920, 1080);
|
||||
public bool Fullscreen = false;
|
||||
public float MusicVolume = 1f;
|
||||
public float FXVolume = 1f;
|
||||
public string MusicDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyMusic);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user