Two bullet roulette: Difference between revisions
Content added Content deleted
(JavaScript added) |
|||
Line 613: | Line 613: | ||
// actually we don't need this here: just for completeness |
// actually we don't need this here: just for completeness |
||
this.unload = function() { this.cylinder.fill(false); } |
this.unload = function() { this.cylinder.fill(false); } |
||
this.spin = function() { this.trigger = Math.floor(Math.random() * 6); } |
this.spin = function() { this.trigger = Math.floor(Math.random() * 6); } |
||
this.fire = function() { |
this.fire = function() { |