19 lines
445 B
C#
19 lines
445 B
C#
using Game.Player;
|
|
using Game.Room;
|
|
|
|
namespace Game;
|
|
|
|
public class PlayerMoveToRoomEventArgs : GameEventArgs
|
|
{
|
|
public static readonly int EventId = typeof(PlayerMoveToRoomEventArgs).GetHashCode();
|
|
public override int Id => EventId;
|
|
|
|
public IPlayer player { get; }
|
|
public IRoom room { get; }
|
|
|
|
public PlayerMoveToRoomEventArgs(IPlayer player, IRoom room)
|
|
{
|
|
this.player = player;
|
|
this.room = room;
|
|
}
|
|
} |