public Block(Guid id, DateTime time, bool isTeamB, Guid playerId, Guid gameId, FieldGoal fieldGoalBlocked) : base(id, time, isTeamB, playerId, gameId) { FieldGoalBlocked = fieldGoalBlocked; FieldGoalBlockedId = fieldGoalBlocked.Id; }
public Rebound(Guid id, DateTime time, bool isTeamB, Guid playerId, Guid gameId, bool isOffensive, FieldGoal fieldGoalRebounded) : base(id, time, isTeamB, playerId, gameId) { IsOffensive = isOffensive; FieldGoalRebounded = fieldGoalRebounded; FieldGoalReboundedId = fieldGoalRebounded.Id; }