rename EventHandler to avoid naming conflict with other .NET event stuff
This commit is contained in:
parent
8098ea057d
commit
2487670cc3
|
@ -144,7 +144,7 @@
|
|||
<Compile Include="Events\Event.cs" />
|
||||
<Compile Include="Events\EventManager.cs" />
|
||||
<Compile Include="Events\IEventListener.cs" />
|
||||
<Compile Include="Events\EventHandler.cs" />
|
||||
<Compile Include="Events\EventListener.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
|
|
|
@ -2,11 +2,11 @@ using System;
|
|||
|
||||
namespace Blarg.GameFramework.Events
|
||||
{
|
||||
public abstract class EventHandler : IEventListener
|
||||
public abstract class EventListener : IEventListener
|
||||
{
|
||||
public readonly EventManager EventManager;
|
||||
|
||||
public EventHandler(EventManager eventManager)
|
||||
public EventListener(EventManager eventManager)
|
||||
{
|
||||
if (eventManager == null)
|
||||
throw new ArgumentNullException("eventManager");
|
Reference in a new issue