1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-07 16:03:10 +00:00

Signed-off-by: Rogiel <rogiel@rogiel.com>

This commit is contained in:
2011-05-18 19:59:27 -03:00
parent 4c27add4ef
commit 9bb83652e4
242 changed files with 7180 additions and 4199 deletions

View File

@@ -0,0 +1,82 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.service.game.ai;
import com.google.inject.Inject;
import com.l2jserver.model.world.capability.Actor;
import com.l2jserver.service.AbstractService;
import com.l2jserver.service.AbstractService.Depends;
import com.l2jserver.service.ServiceStartException;
import com.l2jserver.service.ServiceStopException;
import com.l2jserver.service.game.CharacterService;
import com.l2jserver.service.game.template.TemplateService;
import com.l2jserver.service.game.world.WorldService;
import com.l2jserver.service.game.world.event.WorldEventDispatcher;
import com.l2jserver.service.network.NetworkService;
import com.l2jserver.service.threading.ThreadService;
import com.l2jserver.util.dimensional.Coordinate;
/**
* Default implementation for {@link CharacterService}.
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
@Depends({ WorldService.class, TemplateService.class, ThreadService.class,
NetworkService.class })
public class AIServiceImpl extends AbstractService implements AIService {
/**
* The {@link WorldService}
*/
private final WorldService worldService;
/**
* The {@link WorldService} event dispatcher
*/
private final WorldEventDispatcher eventDispatcher;
/**
* The {@link ThreadService}
*/
private final ThreadService threadService;
/**
* The {@link NetworkService}
*/
private final NetworkService networkService;
@Inject
public AIServiceImpl(WorldService worldService,
WorldEventDispatcher eventDispatcher, ThreadService threadService,
NetworkService networkService) {
this.worldService = worldService;
this.eventDispatcher = eventDispatcher;
this.threadService = threadService;
this.networkService = networkService;
}
@Override
protected void doStart() throws ServiceStartException {
}
@Override
public void walk(Actor actor, Coordinate coordinate) {
}
@Override
protected void doStop() throws ServiceStopException {
}
}