my-basic/sample/yard/monster.bas
2017-11-20 12:43:44 +08:00

12 lines
315 B
QBasic

REM Yet Another RPG Dungeon is a text based game.
REM It's aimed to be a comprehensive example and a tutorial of MY-BASIC.
REM For more information, see https://github.com/paladin-t/my_basic/
import "entity.bas"
class monster(entity)
def to_string()
return "Monster [" + name + "]"
enddef
endclass