net.craftforge.essential.controller.phases
Class AllocationPhase
java.lang.Object
net.craftforge.essential.controller.phases.AllocationPhase
- All Implemented Interfaces:
- Phase
public class AllocationPhase
- extends Object
- implements Phase
Allocates and sets the resource class and resource method.
- Since:
- 17.01.2011
- Author:
- Christian Bick
|
Method Summary |
void |
run()
Runs the phase. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AllocationPhase
public AllocationPhase(State state,
Setup setup)
- Creates an allocation phase from a controller state and setup.
- Parameters:
state - The controller statesetup - The controller setup
run
public void run()
throws ControllerException
- Runs the phase.
- Specified by:
run in interface Phase
- Throws:
ControllerException - Failed to run phase
Copyright © 2011. All Rights Reserved.