before removing smooth shadows
This commit is contained in:
parent
b28eec6342
commit
9eba227ec3
70 changed files with 4277 additions and 3673 deletions
src/modules/simulation/classes
10
src/modules/simulation/classes/Gate.ts
Normal file
10
src/modules/simulation/classes/Gate.ts
Normal file
|
@ -0,0 +1,10 @@
|
|||
import { Transform, vector2 } 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