You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
263B

  1. #include "Rack.hpp"
  2. namespace rack {
  3. Screw::Screw() {
  4. box.size = Vec(15, 15);
  5. spriteOffset = Vec(-7, -7);
  6. spriteSize = Vec(29, 29);
  7. spriteFilename = "res/screw.png";
  8. std::uniform_int_distribution<> dist(0, 4);
  9. index = dist(rng);
  10. }
  11. } // namespace rack