@Override public void Update(GameTime gameTime) { _delayTime = TimeSpan.Add(_delayTime, gameTime.ElapsedGameTime()); if (_delayTime.miliseconds() <= 100) return; _delayTime = TimeSpan.Zero(); if (_isClicked) { _sprites.get(0).Update(); if (_sprites.get(0).FrameIndex() == 0) { Clicked.Add(DoClick.GetInstance(this)); _isClicked = false; } } super.Update(gameTime); }
@Override public void Update(GameTime gameTime) { super.Update(gameTime); }