コード例 #1
0
ファイル: USystem.cs プロジェクト: UD-Engine/UDEngine
    /* INTERNALS */


    /* CONSTRUCTOR */
    public USystem(UControl new_control, UDifficulty new_difficulty, UStage new_stage)
    {
        control    = new_control;
        difficulty = new_difficulty;
        stage      = new_stage;

        //Adding static references
        USystem.Instances.Add(this);
        USystem.Current = this;
    }
コード例 #2
0
ファイル: Program.cs プロジェクト: MarcinZboralski/USystem
 private static void Init()
 {
     USystem           = new USystem();
     ControlerWindow   = new ControlerWindow();
     UserCreatorWindow = new UserCreatorWindow();
 }
コード例 #3
0
ファイル: USystem.cs プロジェクト: UD-Engine/UDEngine
 void Start()
 {
     sys = new USystem(new UControl(), new UDifficulty(), new UStage(6));
 }