Open AlmasB opened 9 months ago
In fun create(entityName: String, data: SpawnData): Entity in GameWorld, the implementation is:
fun create(entityName: String, data: SpawnData): Entity
if (pooledEntity != null) { pooledEntity.setPosition3D(data.x, data.y, data.z) return pooledEntity }
the position is reset, however, other data elements are not. Requires thinking through the specification.
In
fun create(entityName: String, data: SpawnData): Entity
in GameWorld, the implementation is:the position is reset, however, other data elements are not. Requires thinking through the specification.