Commit f54eb3b9 authored by wildfirecode13's avatar wildfirecode13

init

parent cd591918
......@@ -29,7 +29,7 @@ export default class Weapon {
}
createBullet = () => {
console.log('武器在发射子弹')
// console.log('武器在发射子弹')
const bullet: Movable = this._host.parent.addChild(new Bullet());
bullet.velocity = this._host.getShootVelocity();
const shootPoint = this._host.getShootPoint();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment