private void OnPlayerMove(ButtonEventArgs e) { if (this.PlayerMove != null) { this.PlayerMove(this, e); } }
public virtual void PlayerMove(object sender, ButtonEventArgs eventArgs) { this.model.PlayerMoved(eventArgs.Size, eventArgs.X, eventArgs.Y); }