Exemplo n.º 1
0
 public FlashbackPickup(string filename, TiledObject pFlashbackData, int cols, int rows, int frames = -1,
                        bool keepInCache = false, bool addCollider = true) : base(filename, cols, rows, frames, keepInCache,
                                                                                  addCollider)
 {
     _flashbackData = pFlashbackData;
     _trigger       = new TriggerBehavior(this);
 }
Exemplo n.º 2
0
        public HistoryPickUp(string pHistoryImageFileName, string filename, int cols, int rows, int frames = -1, bool keepInCache = false,
                             bool addCollider = true) : base(filename, cols, rows, frames, keepInCache, addCollider)
        {
            _historyImageFileName = pHistoryImageFileName;
            _trigger = new TriggerBehavior(this);

            DrawableTweener.Blink(this, 1, 0.5f, 600);
        }
Exemplo n.º 3
0
 public FlashBackTrigger(string filename, TiledObject pFlashbackData) : base(filename, false, true)
 {
     _trigger       = new TriggerBehavior(this);
     _flashbackData = pFlashbackData;
 }