mirror of
https://github.com/Sheldan/canvas.git
synced 2026-01-27 20:39:08 +00:00
survivors: adding collision for faster projectiles to also consider collisions between ticks
differentiating between pistol and homing pistol using projectile speed for straight projectile
This commit is contained in:
@@ -5,9 +5,9 @@ import {Vector} from "./base.ts";
|
||||
|
||||
export abstract class BasicDrop implements Drop {
|
||||
protected world: World;
|
||||
protected _position: Vector;
|
||||
protected _color: string;
|
||||
protected _size: number;
|
||||
protected _position: Vector;
|
||||
protected _color: string;
|
||||
protected _size: number;
|
||||
|
||||
constructor(world: World, position: Vector) {
|
||||
this.world = world;
|
||||
|
||||
Reference in New Issue
Block a user