An open API service indexing awesome lists of open source software.

https://github.com/seycileli/monstergameapp

Monster Game APP Where We Have Many Monsters That Can Attack
https://github.com/seycileli/monstergameapp

interface-java java monster-game object-oriented-programming oops-in-java subclass

Last synced: about 1 year ago
JSON representation

Monster Game APP Where We Have Many Monsters That Can Attack

Awesome Lists containing this project

README

          

# MonsterGameApp

In our game app, we have many types of monsters that can attack.

We shall design a superclass called Monster and define the method attack() in the superclass.

The subclasses shall then provides their actual implementation. In the main program, we declare instances of superclass, substituted with actual subclass; and invoke method defined in the superclass.