code review
This commit is contained in:
parent
ba2d9f17e1
commit
7d84f51d91
3 changed files with 9 additions and 12 deletions
|
|
@ -1,9 +1,9 @@
|
|||
class Obstacle extends Entity {
|
||||
private pipeTop: Pipe;
|
||||
private pipeBottom: Pipe;
|
||||
private distanceBetweenPipes: number;
|
||||
private padding: number = 300;
|
||||
private speed: number = 8;
|
||||
private readonly distanceBetweenPipes: number;
|
||||
private readonly padding: number = 300;
|
||||
private readonly speed: number = 8;
|
||||
|
||||
private static startX: number;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue