refactoring to comply with c# conventions

This commit is contained in:
2018-11-20 18:56:41 -06:00
parent efbaad9c1b
commit 3347316182
37 changed files with 115 additions and 115 deletions

View File

@@ -0,0 +1,14 @@
using Microsoft.Xna.Framework.Input;
using RhythmBullet.Utilities.Persistence;
namespace RhythmBullet.Preferences
{
public class Controls : Utilities.Persistence.Preferences
{
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

@@ -0,0 +1,16 @@
using System;
using System.Xml.Serialization;
using RhythmBullet.Utilities.DataTypes;
using RhythmBullet.Utilities.Persistence;
namespace RhythmBullet.Preferences
{
public class General : Utilities.Persistence.Preferences
{
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);
}
}