public ProjectileSpawnData(ProjectileOwnerType projectileOwnerType, Vector3 spawnPosition, Vector3 direction, float projectileSpeed) { ProjectileOwnerType = projectileOwnerType; SpawnPosition = spawnPosition; Direction = direction; ProjectileSpeed = projectileSpeed; }
public FireProjectileCommand(Guid ownerGuid, ProjectileOwnerType projectileOwnerType, Vector3 projectilePosition, Vector3 projectileDirection, float projectilePower) { OwnerGuid = ownerGuid; ProjectileOwnerType = projectileOwnerType; ProjectilePosition = projectilePosition; ProjectileDirection = projectileDirection; ProjectilePower = projectilePower; }