Ejemplo n.º 1
0
 protected abstract bool BeforeHandleAction(TUser @from, GameAction action);
Ejemplo n.º 2
0
 /// <summary>
 ///     Just adds the action, but does not call any checks like BeforeHandleAction
 /// </summary>
 /// <param name="from"></param>
 /// <param name="action"></param>
 protected void AddActionInternal(TUser from, GameAction action)
 {
     lock (NextTurnLock)
         _users[from].Add(action);
 }
Ejemplo n.º 3
0
 protected virtual void OnActionExecuted(TUser @from, GameAction action)
 {
 }
Ejemplo n.º 4
0
 protected internal abstract bool AddAction(long userIdentifier, GameAction action);