//private void OnTouchSlides(Vector2 direction) { if(null != TouchSlides) { TouchSlides.Invoke(direction); } } //private void OnDoubleTap(int touchId, Direction side, Vector2 point) { if(null != DoubleTap) { DoubleTap.Invoke(touchId, side, point); } } private void OnCharacterMove(Vector2 direction) { if (null != CharacterMove) { CharacterMove.Invoke(direction); } }
public void SendCharacterMove(int character, Direction moveDirection, bool vision) { onCharacterMove?.Invoke(character, moveDirection, vision); }