this code contains some basic function in RPG games. The purpose of this publication is to show you the implementation of object oriented programing including object, class, and interface.