Interface AddListener
- All Known Implementing Classes:
GridAddListener
,NetAddListener
,SpaceAddListener
public interface AddListener
Deprecated.
2D piccolo based code is being removed
Listens for agent add events.
- Author:
- Nick Collier
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets the PInputEvent handler that will handle the gui part of the adding.void
postAdd()
Deprecated.Called immediately after the agent has been added.boolean
Deprecated.Called immediately prior to an agent being added.
-
Method Details
-
preAdd
Deprecated.Called immediately prior to an agent being added.- Parameters:
obj
- the object that will be addedlocation
- the location at which the agent should be added. @return true if an object can be added to the specified location, otherwise false.
-
postAdd
void postAdd()Deprecated.Called immediately after the agent has been added. -
getAddHandler
PEditorEventListener getAddHandler()Deprecated.Gets the PInputEvent handler that will handle the gui part of the adding.- Returns:
- the PInputEvent handler that will handle the gui part of the adding.
-