Package sk.tuke.kpi.gamelib
Interface ActorFactory
-
public interface ActorFactory
ActorFactors is responsible for creating new actors for a scene.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable Actor
create(@Nullable java.lang.String type, @Nullable java.lang.String name)
Factory method for creating an actor based on giventype
andname
, of which both are optional, but at least one should be given.
-
-
-
Method Detail
-
create
@Nullable @Nullable Actor create(@Nullable @Nullable java.lang.String type, @Nullable @Nullable java.lang.String name)
Factory method for creating an actor based on giventype
andname
, of which both are optional, but at least one should be given.
-
-