move entity definitions to templates

This commit is contained in:
2025-01-13 16:53:12 +09:00
parent ffbc4d9803
commit 9d3fbda494
8 changed files with 93 additions and 137 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import SAT from 'sat'
import { Vector2 } from 'three'
import Entity from './entity.js'
import SAT from 'sat'
export default class SATX {
static clamp(vectorOrObject, maxX = Infinity, maxY = Infinity, radius = 0) {