We're going to create a C#
interface and implement it in
BeginState, but incorrectly to see some errors. Then we'll implement the interface correctly. Perform the following steps:
Codefolder and select Add | New Folder.
Interfacesfolder and select Add | New File.
In the MonoDevelop Solution window, your file structure will now look like the following screenshot:
IStateBase file as follows:
namespacewill move up to ...