Example #1
0
 private void OnDirectionChanged(object sender, DirectionEventArgs e)
 {
     _joyDir = e.Direction;
 }
Example #2
0
 void SPlayer_OnDirectionEnablement(WorldObject sender, DirectionEventArgs e)
 {
     SendInfoMove();
 }
Example #3
0
 public FaceEventArgs(FaceEventType type, DirectionEventArgs direction)
 {
     this.EventType = type;
     this.Direction = direction;
 }
Example #4
0
        protected virtual void OnDirectionChanged(Directions dir)
        {
            DirectionEventArgs dea = new DirectionEventArgs(dir);

            DirectionChanged?.Invoke(this, dea);
        }