Package rea.gameplay
package rea.gameplay
The features of a particular kind of game.
These features are described by
Gameplay
and include the game's name,
the minimum and maximum number of players, its game map, and completion criteria, among
others.
This interface is the abstract component of theStrategy / Policy design pattern.
The concrete components are contained in the rea.gameplay.games
package.
The gameplay creation uses the Factory method design pattern whose abstract components
are AbstractGameplayFactory
and Gameplay
. This
package contains a concrete GameplayFactory
that uses Java reflection
to create instances implementions of GameplayFactory
in the rea.gameplay.games
package.
- Author:
- José Paulo Leal
jpleal@fc.up.pt
-
ClassDescriptionAbstract definition of a Gameplay factory method.Abstract definition of a gameplay in REA.A factory for creating
Gameplay
instances.