This commit is contained in:
hubourge
2024-10-01 18:48:26 +02:00
parent a8863ad379
commit f7bf0897fb
4 changed files with 14 additions and 18 deletions

View File

@ -6,7 +6,7 @@
/* By: hubourge <hubourge@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/08/21 10:34:49 by edbernar #+# #+# */
/* Updated: 2024/09/25 15:29:52 by hubourge ### ########.fr */
/* Updated: 2024/10/01 15:28:00 by hubourge ### ########.fr */
/* */
/* ************************************************************************** */
@ -50,11 +50,6 @@ class Opponent
{
}
resetPosOpponent()
{
this.object.position.set(0, 0.3, -mapLength / 2 + 0.2);
}
movePlayer(content)
{
const lerp = (start, end, t) => start + (end - start) * t;