my-basic/sample/yard/monster.bas
2017-11-08 15:48:20 +08:00

13 lines
390 B
QBasic

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