-
March 6th, 2016, 12:48 AM
#1
trouble with an interface
I am trying to create a state machine, but I am having trouble with one of the states inheriting from the interface. If anyone can tell me what I am doing wrong please let me know! Here is the code:
Code:
using UnityEngine;
using System.Collections;
using Assets.Code.Statemachine.States;
using Assets.Code.Interfaces;
public class PauseState : IStateBase
{
public void StateUpdate()
{
}
public void Show()
{
}
public void PlayingState()
{
}
public void OptionsState(){
}
public void GameOverState(){
}
public void StartMenuState()
{
}
public void Level1State()
{
}
}
-
March 6th, 2016, 02:22 AM
#2
Re: trouble with an interface
There isn't much for us to help with if you don't give us the IStateBase definition and tell us what the problem is.
-
March 9th, 2016, 08:49 AM
#3
Re: trouble with an interface
Is it a compiler error? A runtime error? What is going on. Don't worry about it if your having a hard time expressing it, just struggle through it.
ahoodin
To keep the plot moving, that's why.
-
March 13th, 2016, 10:46 AM
#4
Re: trouble with an interface
What you have posted is simple just empty methods. How do you expect us to help you with that?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|