public boolean transformPlayer(int id, L2PcInstance player) { L2Transformation template = this.getTransformationById(id); if (template != null) { L2Transformation trans = template.createTransformationForPlayer(player); trans.start(); return true; } return false; }
public L2Transformation registerTransformation(L2Transformation transformation) { return _transformations.put(transformation.getId(), transformation); }