Initial commit
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
using Godot;
|
||||
|
||||
namespace WacK.Scenes
|
||||
{
|
||||
public class PlayParameters
|
||||
{
|
||||
/* TODO: store song ID from internal database
|
||||
public string songID;
|
||||
public Difficulty diff;
|
||||
*/
|
||||
public string chartPath;
|
||||
public string soundPath;
|
||||
|
||||
public PlayParameters(string chPath, string snPath)
|
||||
{
|
||||
chartPath = chPath;
|
||||
soundPath = snPath;
|
||||
}
|
||||
}
|
||||
public partial class Play : Node
|
||||
{
|
||||
// initialized by another scene, BEFORE loading this one!
|
||||
public static PlayParameters playParams;
|
||||
|
||||
private void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void OnDestroy()
|
||||
{
|
||||
playParams = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user