ege/src/org/atriasoft/gameengine/Component.java

21 lines
528 B
Java

package org.atriasoft.gameengine;
public abstract class Component {
public abstract String getType();
/**
* @brief Evironement notify that a new component is added on the same Element
* @param component New component added
*/
public void addFriendComponent(Component component) {
// nothing to do.
}
/**
* @brief Evironement notify that a component is removed on the same Element
* @param component Old component removed
*/
public void removeFriendComponent(Component component) {
// nothing to do.
}
}