Class PlayerFactorySpigot
java.lang.Object
nl.pim16aap2.animatedarchitecture.spigot.core.implementations.PlayerFactorySpigot
- All Implemented Interfaces:
IPlayerFactory
Represents an implementation of
IPlayerFactory for the Spigot platform.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a newIPlayer.create(PlayerData playerData) Creates a newIPlayer.
-
Constructor Details
-
PlayerFactorySpigot
-
-
Method Details
-
create
Description copied from interface:IPlayerFactoryCreates a newIPlayer.- Specified by:
createin interfaceIPlayerFactory- Parameters:
playerData- ThePlayerDataof the player.- Returns:
- A new
IPlayerobject.
-
create
Description copied from interface:IPlayerFactoryCreates a newIPlayer.- Specified by:
createin interfaceIPlayerFactory- Parameters:
uuid- TheUUIDof the player.- Returns:
- A new
IPlayerobject.
-