early shadows
This commit is contained in:
parent
9eba227ec3
commit
b5f3d9e4eb
17 changed files with 281 additions and 77 deletions
src/modules/simulation/classes
|
@ -1,10 +1,9 @@
|
|||
import { Transform, vector2 } from './Transform'
|
||||
import { Transform } from './Transform'
|
||||
|
||||
export class Gate {
|
||||
public static lastId = 0
|
||||
public transform = new Transform()
|
||||
public id = Gate.lastId++
|
||||
public shadow: vector2 = [0, 0]
|
||||
|
||||
public constructor(public color = 'blue') {}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue