mirror of
https://github.com/worldforge/cyphesis
synced 2026-08-13 12:26:04 -04:00
* server/EntityFactory.h, server/EntityFactory.cpp: Add a handler for objects in rules files. * rulesets/TaskScript.h, rulesets/TaskScript.cpp: Task class which delegates functionality to a script object. Basically just a stub at this point. * server/TaskFactory.h server/TaskFactory.cpp: Factory class for creating instances of Task classes.
25 lines
446 B
C++
25 lines
446 B
C++
// This file may be redistributed and modified only under the terms of
|
|
// the GNU General Public License (See COPYING for details).
|
|
// Copyright (C) 2005 Alistair Riddoch
|
|
|
|
#include "rulesets/TaskScript.h"
|
|
|
|
TaskScript::TaskScript(Character & chr) : Task(chr)
|
|
{
|
|
}
|
|
|
|
TaskScript::~TaskScript()
|
|
{
|
|
}
|
|
|
|
void TaskScript::setup(OpVector & res)
|
|
{
|
|
}
|
|
|
|
void TaskScript::irrelevant()
|
|
{
|
|
}
|
|
|
|
void TaskScript::TickOperation(const Operation & op, OpVector & res)
|
|
{
|
|
}
|