MyDungeon Documentation
PlayerOverworld Class |
Base class for the Player in Overworld scenes
Inheritance Hierarchy
SystemObject Object
Component
Behaviour
MonoBehaviour
MyDungeon.EntitiesMovingOverworldObject
MyDungeon.EntitiesPlayerOverworld
Component
Behaviour
MonoBehaviour
MyDungeon.EntitiesMovingOverworldObject
MyDungeon.EntitiesPlayerOverworld
Namespace: MyDungeon.Entities
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public abstract class PlayerOverworld : MovingOverworldObject
The PlayerOverworld type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PlayerOverworld | Initializes a new instance of the PlayerOverworld class |
Methods
Name | Description | |
---|---|---|
CheckHit |
Checks if entity is blocked by an object on the blocking layer in a desired direction
(Inherited from MovingOverworldObject.) | |
Interact | ||
Start |
Initializes the entity's BoxCollider2D
(Inherited from MovingOverworldObject.) |
Fields
Name | Description | |
---|---|---|
BlockingLayer |
Layer used in collision checks to block movement
(Inherited from MovingOverworldObject.) | |
BoxCollider | (Inherited from MovingOverworldObject.) |
Extension Methods
Name | Description | |
---|---|---|
Invoke |
Invoke using a delegate
(Defined by MonoBehaviourExtensions.) |
See Also