WIP
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import State from "./state"
|
||||
|
||||
export default class SandPainter {
|
||||
private color: number
|
||||
private gain: number
|
||||
|
||||
constructor(state: State) {
|
||||
this.color = state.getRandomColor()
|
||||
this.gain = Math.random() / 10
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user