refactoring to comply with c# conventions
This commit is contained in:
14
RhythmBullet/Preferences/Controls.cs
Normal file
14
RhythmBullet/Preferences/Controls.cs
Normal 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;
|
||||
}
|
||||
}
|
16
RhythmBullet/Preferences/General.cs
Normal file
16
RhythmBullet/Preferences/General.cs
Normal 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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user