public Enemy(Coordinates coordinates, char[,] body, Coordinates speed, ICollideAction collideAction, IObjectProducer objectProducer) : base(coordinates, body, speed) { this.objectProducer = objectProducer; this.collideAction = collideAction; this.ObjectType = EObjectTypes.ENEMY; this.Lifes = 1; }
public ServiceInstanceResolver(IServiceInstanceSetter instanceSetter, IObjectProducer objectProducer, IServiceHasToInitializeChecker hasToInitializeChecker) { InstanceSetter = instanceSetter; ObjectProducer = objectProducer; HasToInitializeChecker = hasToInitializeChecker; }
public ServiceInitializer(IObjectProducer objectProducer, IServiceInstanceSetter instanceSetter) { ObjectProducer = objectProducer; InstanceSetter = instanceSetter; }