Content loading system functioning.

This commit is contained in:
2018-10-30 18:29:54 -05:00
parent 3a4dfb94ac
commit a9647f2146
14 changed files with 189 additions and 87 deletions

View File

@@ -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;
}
}

View File

@@ -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);
}
}