12 lines
320 B
C#
12 lines
320 B
C#
using System;
|
|
|
|
public static class Events
|
|
{
|
|
public static event Action OnBreakoutEndGame;
|
|
public static void BreakoutEndGame() => OnBreakoutEndGame?.Invoke();
|
|
|
|
public static event Action<float> OnBreakoutSetSpeed;
|
|
public static void BreakoutSetSpeed(float speed) => OnBreakoutSetSpeed?.Invoke(speed);
|
|
|
|
}
|