diff --git a/src/main/java/cactusServer/entities/Bullet.java b/src/main/java/cactusServer/entities/Bullet.java index 2ec4b09..611f2c7 100644 --- a/src/main/java/cactusServer/entities/Bullet.java +++ b/src/main/java/cactusServer/entities/Bullet.java @@ -6,6 +6,9 @@ import org.ntlab.radishforandroidstudio.java3d.Box; import org.ntlab.radishforandroidstudio.java3d.Primitive; +import cactusServer.models.BulletModelManager; +import cactusServer.models.CharacterModelManager; + public class Bullet extends Entity3D { private String playerID; private Position3D position; @@ -19,10 +22,8 @@ this.playerID = playerID; this.position = position; this.angle = angle; -// setPrim(new Box()); -// setObject(new Object3D("", prim)); -// setPlaceable(object); -// setPlaceable(new Object3D("", new Box())); // ??? + Object3D body = BulletModelManager.getInstance().getBulletModel(0).createObject(); // ���f��ID�͉���0���w�� + setPlaceable(body); } public String getPlayerID() {