mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 21:43:22 +08:00
798fff00b2
No more casting!
12 lines
338 B
C#
12 lines
338 B
C#
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
namespace osu.Game.Input
|
|
{
|
|
public interface IHandleActions<in T>
|
|
where T : struct
|
|
{
|
|
bool OnPressed(T action);
|
|
bool OnReleased(T action);
|
|
}
|
|
} |