TopDown Engine
v3.6
|
A class used in the Koala demo to handle the dungeon doors More...
Public Types | |
enum | DoorStates { DoorStates.Open, DoorStates.Closed } |
the possible states of the door More... | |
Public Member Functions | |
virtual void | OpenDoor () |
Opens the door More... | |
virtual void | CloseDoor () |
Closes the door More... | |
virtual void | ToggleDoor () |
Opens or closes the door based on its current status More... | |
Public Attributes | |
GameObject | OpenDoorTop |
the top part of the door More... | |
GameObject | OpenDoorBottom |
the bottom part of the door More... | |
GameObject | ClosedDoor |
the object to show when the door is closed More... | |
DoorStates | DoorState = DoorStates.Open |
the current state of the door More... | |
bool | ToogleDoorButton |
a test button to toggle the door open or closed More... | |
bool | OpenDoorButton |
a test button to open the door More... | |
bool | CloseDoorButton |
a test button to close the door More... | |
Protected Member Functions | |
virtual void | Start () |
On Start we initialize our door based on its initial status More... | |
virtual void | Update () |
On Update, we open or close the door if needed More... | |
virtual void | SetDoorClosed () |
Closes the door More... | |
virtual void | SetDoorOpen () |
Opens the door More... | |
A class used in the Koala demo to handle the dungeon doors
|
virtual |
Closes the door
|
virtual |
Opens the door
|
protectedvirtual |
Closes the door
|
protectedvirtual |
Opens the door
|
protectedvirtual |
On Start we initialize our door based on its initial status
|
virtual |
Opens or closes the door based on its current status
|
protectedvirtual |
On Update, we open or close the door if needed
GameObject MoreMountains.TopDownEngine.DungeonDoor.ClosedDoor |
the object to show when the door is closed
bool MoreMountains.TopDownEngine.DungeonDoor.CloseDoorButton |
a test button to close the door
DoorStates MoreMountains.TopDownEngine.DungeonDoor.DoorState = DoorStates.Open |
the current state of the door
GameObject MoreMountains.TopDownEngine.DungeonDoor.OpenDoorBottom |
the bottom part of the door
bool MoreMountains.TopDownEngine.DungeonDoor.OpenDoorButton |
a test button to open the door
GameObject MoreMountains.TopDownEngine.DungeonDoor.OpenDoorTop |
the top part of the door
bool MoreMountains.TopDownEngine.DungeonDoor.ToogleDoorButton |
a test button to toggle the door open or closed