MovingOverworldObject Class

MyDungeon

MovingOverworldObject Class

Base class for entities that move in the overworld
Inheritance Hierarchy
SystemObject  Object
    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 class MovingOverworldObject : MonoBehaviour

The MovingOverworldObject type exposes the following members.

Constructors
  NameDescription
Public methodMovingOverworldObject
Initializes a new instance of the MovingOverworldObject class
Top
Methods
  NameDescription
Protected methodCheckHit
Checks if entity is blocked by an object on the blocking layer in a desired direction
Protected methodStart
Initializes the entity's BoxCollider2D
Top
Fields
  NameDescription
Public fieldBlockingLayer
Layer used in collision checks to block movement
Protected fieldBoxCollider
Top
Extension Methods
  NameDescription
Public Extension MethodInvoke
Invoke using a delegate
(Defined by MonoBehaviourExtensions.)
Top
See Also