diff --git a/html/images/space.svg b/html/images/space.svg index bf12694..7f30f7c 100644 --- a/html/images/space.svg +++ b/html/images/space.svg @@ -15,12 +15,12 @@ fill: gray; } - .tank rect { + .ship rect { fill: green; transform: translate(-7.5px, -5px); } - .tank circle { + .ship circle { fill: white; } @@ -42,7 +42,7 @@ - + @@ -89,8 +89,8 @@ const fps = document.querySelector("#fps"); const info = document.querySelector("#debug"); - const tank = document.querySelector(".tank"); - const gun = tank.querySelector('line'); + const ship = document.querySelector(".ship"); + const gun = ship.querySelector('line'); const hitbox = document.querySelector(".hitbox"); const bulletsContainer = document.querySelector("#bullets");