MyDungeon Documentation
![]() | CreatureAttemptMoveT Method |
[Missing <summary> documentation for "M:MyDungeon.Entities.Creature.AttemptMove``1(System.Int32,System.Int32)"]
Namespace: MyDungeon.Entities
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0

C#
protected virtual void AttemptMove<T>( int xDir, int yDir ) where T : Component
Parameters
- xDir
- Type: SystemInt32
The X direction the creature is attempting to move in - yDir
- Type: SystemInt32
The Y direction the creature is attempting to move in
Type Parameters
- T
- A type that inherits from Component
