home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar Special 2004 August
/
GSSH0804.iso
/
Action
/
TumikiFighters
/
tf0_2.exe
/
tf
/
src
/
abagames
/
util
/
actor.d
next >
Wrap
Text File
|
2004-05-15
|
668b
|
34 lines
/*
* $Id: actor.d,v 1.2 2004/05/14 14:35:38 kenta Exp $
*
* Copyright 2003 Kenta Cho. All rights reserved.
*/
module abagames.util.actor;
/**
* Actor in the game that has the interface to move and draw.
*/
public class Actor {
private:
bool isExistOrNot;
public bool isExist() {
return isExistOrNot;
}
public bool isExist(bool value) {
return isExistOrNot = value;
}
public abstract Actor newActor();
public abstract void init(ActorInitializer ini);
public abstract void move();
public abstract void draw();
}
/**
* Pass initial parameters to the actor.
*/
public interface ActorInitializer {
}