From eebf7e77b0279b89421b92faa4dc7f35b2b424d1 Mon Sep 17 00:00:00 2001 From: capdevon Date: Mon, 4 Sep 2023 18:09:37 +0200 Subject: [PATCH] AdapterControl: remove getComponentsInChildren() method --- .../java/com/capdevon/control/AdapterControl.java | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/game/src/main/java/com/capdevon/control/AdapterControl.java b/game/src/main/java/com/capdevon/control/AdapterControl.java index 1b7b572..3a55cf2 100644 --- a/game/src/main/java/com/capdevon/control/AdapterControl.java +++ b/game/src/main/java/com/capdevon/control/AdapterControl.java @@ -1,6 +1,5 @@ package com.capdevon.control; -import java.util.List; import java.util.Objects; import com.capdevon.engine.GameObject; @@ -48,18 +47,6 @@ public T getComponent(Class type) { return Objects.requireNonNull(control, type + " not found: " + spatial); } - /** - * Returns all components of Type type in the GameObject or any of its - * children using depth first search. Works recursively. - * - * @param - * @param type - * @return - */ - public List getComponentsInChildren(Class type) { - return GameObject.getComponentsInChildren(spatial, type); - } - /** * Returns the component of Type type in the GameObject or any of its * children using depth first search. @@ -88,12 +75,10 @@ public T getComponentInParent(Class type) { @Override protected void controlUpdate(float tpf) { - //To change body of generated methods, choose Tools | Templates. } @Override protected void controlRender(RenderManager rm, ViewPort vp) { - //To change body of generated methods, choose Tools | Templates. } }