Ejemplo n.º 1
0
 public CoverManager(IActorLoader actor_loader, GetDefaultSurface get_default_surface, int texture_size) : base()
 {
     this.actor_loader = actor_loader;
     this.texture_size = texture_size;
     behaviour         = new FlowBehaviour(this);
     texture_holder    = new TextureHolder(texture_size, get_default_surface);
 }
        private int target_index = 0; // curent targetted cover index

        #endregion Fields

        #region Constructors

        public CoverManager(IActorLoader actor_loader, GetDefaultSurface get_default_surface, int texture_size)
            : base()
        {
            this.actor_loader = actor_loader;
            this.texture_size = texture_size;
            behaviour = new FlowBehaviour (this);
            texture_holder = new TextureHolder (texture_size, get_default_surface);
        }