public List <Bullet> GetBullets(Weapon weapon) { List <Bullet> toReturn = new List <Bullet>(); toReturn.Add( Creator.CreateBullet( weapon.bulletType, weapon.GetBulletSpawnPosition(), VecUtil.GetNormAng(weapon.rotation))); return(toReturn); }
public virtual void SetFaceDir(float angle) { faceDir = VecUtil.GetNormAng(angle); UpdateRotation(); }