public uint AddProjectile(Backend.Coords coords, Backend.Direction dir, ProjectileTile tile)
{
uint id = 0;
lock (_mylock)
{
id = _maxProjectile;
_maxProjectile += 1;
}
// System.Diagnostics.Debug.WriteLine("Added at " + coords);
_projectiles.Add(new Projectile(id, this, coords, dir, tile));
return id;
}