A class used in the Koala demo to handle the dungeon doors.
More...
|
| virtual void | OpenDoor () |
| | Opens the door.
|
| virtual void | CloseDoor () |
| | Closes the door.
|
| virtual void | ToggleDoor () |
| | Opens or closes the door based on its current status.
|
|
| virtual void | Start () |
| | On Start we initialize our door based on its initial status.
|
| virtual void | Update () |
| | On Update, we open or close the door if needed.
|
| virtual void | SetDoorClosed () |
| | Closes the door.
|
| virtual void | SetDoorOpen () |
| | Opens the door.
|
A class used in the Koala demo to handle the dungeon doors.
◆ DoorStates
the possible states of the door
◆ CloseDoor()
| virtual void MoreMountains.TopDownEngine.DungeonDoor.CloseDoor |
( |
| ) |
|
|
virtual |
◆ OpenDoor()
| virtual void MoreMountains.TopDownEngine.DungeonDoor.OpenDoor |
( |
| ) |
|
|
virtual |
◆ SetDoorClosed()
| virtual void MoreMountains.TopDownEngine.DungeonDoor.SetDoorClosed |
( |
| ) |
|
|
protectedvirtual |
◆ SetDoorOpen()
| virtual void MoreMountains.TopDownEngine.DungeonDoor.SetDoorOpen |
( |
| ) |
|
|
protectedvirtual |
◆ Start()
| virtual void MoreMountains.TopDownEngine.DungeonDoor.Start |
( |
| ) |
|
|
protectedvirtual |
On Start we initialize our door based on its initial status.
◆ ToggleDoor()
| virtual void MoreMountains.TopDownEngine.DungeonDoor.ToggleDoor |
( |
| ) |
|
|
virtual |
Opens or closes the door based on its current status.
◆ Update()
| virtual void MoreMountains.TopDownEngine.DungeonDoor.Update |
( |
| ) |
|
|
protectedvirtual |
On Update, we open or close the door if needed.
◆ ClosedDoor
| GameObject MoreMountains.TopDownEngine.DungeonDoor.ClosedDoor |
the object to show when the door is closed
◆ CloseDoorButton
| bool MoreMountains.TopDownEngine.DungeonDoor.CloseDoorButton |
a test button to close the door
◆ DoorState
the current state of the door
◆ OpenDoorBottom
| GameObject MoreMountains.TopDownEngine.DungeonDoor.OpenDoorBottom |
the bottom part of the door
◆ OpenDoorButton
| bool MoreMountains.TopDownEngine.DungeonDoor.OpenDoorButton |
a test button to open the door
◆ OpenDoorTop
| GameObject MoreMountains.TopDownEngine.DungeonDoor.OpenDoorTop |
◆ ToogleDoorButton
| bool MoreMountains.TopDownEngine.DungeonDoor.ToogleDoorButton |
a test button to toggle the door open or closed
The documentation for this class was generated from the following file:
- H:/Code/MoreMountains/topdownengine/Assets/TopDownEngine/Demos/Koala2D/Scripts/DungeonDoor.cs