mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-14 06:45:54 +00:00
Gamemanager in bullet
This commit is contained in:
parent
a9b2c8c873
commit
1ee8f085e8
6 changed files with 92 additions and 13 deletions
|
|
@ -107,7 +107,7 @@ public partial class Weapon : Node2D
|
|||
return;
|
||||
};
|
||||
|
||||
bullet.Initialize(WeaponData.MakeBullet(_muzzle.GlobalPosition));
|
||||
bullet.Initialize(WeaponData.MakeBullet(_muzzle.GlobalPosition), _gameManager);
|
||||
|
||||
//bullet.SetDirection(ShootDirection);
|
||||
bullet.SetDirection(spreadDirection);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue