Example #1
0
 virtual void Update(const InputState& inputs, Uint32 timestamp)
 {
     if (timestamp > lastUpdate + animationDelay)
     {
         lastUpdate = timestamp;
         tile++;
     }
     
     if (vbo->Changed())
     {
         Upload();
         vbo->ChangeCommitted();
     }
 }