Skip to content
Snippets Groups Projects
Select Git revision
  • 757293a903855ea1123976f395d6c87f48a13a83
  • main default protected
2 results

debug_stars.js

Blame
  • debug_stars.js 279 B
    import {Room} from "../../../hampsterengine/src/things";
    import {Stars} from "../objects";
    
    export const rm_DEBUG_stars = new Room();
    rm_DEBUG_stars.bgColor = 'black';
    
    rm_DEBUG_stars.draw = _ => {
        stars.draw(0, 0, canvas.width, canvas.height);
    }
    
    const stars = new Stars();