17 lines
404 B
C#
17 lines
404 B
C#
using System;
|
|
|
|
public class PlayerEvents
|
|
{
|
|
public static event Action OnScreenTouched;
|
|
|
|
public static event Action OnWallTouched;
|
|
|
|
public static event Action OnFloorTouched;
|
|
|
|
public static void SendScreenTouched() => OnScreenTouched?.Invoke();
|
|
|
|
public static void SendWallTouched() => OnWallTouched?.Invoke();
|
|
|
|
public static void SendFloorTouched() => OnFloorTouched?.Invoke();
|
|
}
|