Class IdFactoryImpl
java.lang.Object
net.demilich.metastone.game.logic.CustomCloneable
net.demilich.metastone.game.targeting.IdFactoryImpl
- All Implemented Interfaces:
Serializable
,Cloneable
,IdFactory
- See Also:
-
Field Summary
Fields inherited from interface net.demilich.metastone.game.targeting.IdFactory
PLAYER_1, PLAYER_2, UNASSIGNED
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IdFactoryImpl
public IdFactoryImpl() -
IdFactoryImpl
public IdFactoryImpl(int resumeId)
-
-
Method Details
-
clone
- Overrides:
clone
in classCustomCloneable
-
generateId
public int generateId()- Specified by:
generateId
in interfaceIdFactory
-
getInternalId
public int getInternalId()
-