Skip to content

Commit

Permalink
a few more errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ramseyball authored Oct 10, 2023
1 parent 16ef711 commit d86714f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace microcode {
height: number
}

export class Placeable implements IComponent, IPlaceable {
export class Placeable implements IPlaceable {
private xfrm_: Affine
//% blockCombine block="xfrm" callInDebugger
public get xfrm() {
Expand Down
7 changes: 2 additions & 5 deletions cursor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,11 @@ namespace microcode {
return false
}

/* override */ destroy() {
destroy() {
this.navigator = undefined
super.destroy()
}

/* override */ update() {
super.update()

update() {
const currTimeMs = control.millis()
const elapsedTimeMs = currTimeMs - this.moveStartMs

Expand Down
2 changes: 1 addition & 1 deletion picker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ namespace microcode {
}
}

export class Picker implements IComponent, IPlaceable {
export class Picker implements IPlaceable {
public groups: PickerGroup[]
public navigator: INavigator
public visible: boolean
Expand Down
6 changes: 3 additions & 3 deletions sprite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ namespace microcode {
this.image = opts.img
}

/* override */ destroy() {
destroy() {
this.image = undefined
super.destroy()
}
update() { }

public setImage(img: Image) {
this.image = img
Expand Down Expand Up @@ -78,7 +78,7 @@ namespace microcode {
p.y + (this.height >> 1) > Screen.BOTTOM_EDGE
)
}*/
/* override */ draw() {
draw() {
control.enablePerfCounter()
if (this.invisible) {
return
Expand Down

0 comments on commit d86714f

Please sign in to comment.