CloudWars.SpaceBattle.SpaceBattleClientFeedback.ShotMissed C# (CSharp) Method

ShotMissed() public method

public ShotMissed ( System.Guid matchId, System.Guid player1, System.Guid player2, Common coordinates ) : void
matchId System.Guid
player1 System.Guid
player2 System.Guid
coordinates Common
return void
        public void ShotMissed(Guid matchId, Guid player1, Guid player2, Common.Other.Position coordinates)
        {
            var n = new PlayerNotification { Id = Guid.NewGuid(), MatchId = matchId, PlayerId = player1, OtherPlayer = player2, Row = coordinates.Row, Col = coordinates.Column, NotificationType = NotificationTypes.ShotMissed};
            CloudWarsData.AddNotification(n);
        }