MUD Engine:
- Added additional script over-rideable Methods. - Room Designer can now compile scripts for error checking.
This commit is contained in:
parent
bc6bfeaecd
commit
8486088e17
3 changed files with 55 additions and 26 deletions
|
@ -11,7 +11,19 @@ namespace MUDEngine.Objects
|
|||
{
|
||||
public class BaseObject
|
||||
{
|
||||
public virtual void OnEnter(object sender, EventArgs e)
|
||||
public virtual void OnEnter()
|
||||
{
|
||||
}
|
||||
|
||||
public virtual void OnExit()
|
||||
{
|
||||
}
|
||||
|
||||
public virtual void OnCreate()
|
||||
{
|
||||
}
|
||||
|
||||
public virtual void OnDestroy()
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue