Broken Toaster
✅ Need help making classes
To explain what i'm tryna do - I have a window in which i'll have a game. In this window theres a <Frame/> and i want my own Page class, lets say EnginePage, that inherits from Page cuz it's it's extention. From EnginePage all the other pages inherit. There won't be a EnginePage object, so it's abstract. I want to control the change of pages more "strongly", so a static SwitchPage<T>() function is implemented. I want to allow the pages to have functions that activate when opened and closed, so public abstract void Open() and Close()
37 replies