示例#1
0
        public Spark(AirWizard owner, double xa, double ya)
        {
            this.owner = owner;
            xx = this.x = owner.x;
            yy = this.y = owner.y;
            xr = 0;
            yr = 0;

            this.xa = xa;
            this.ya = ya;

            lifeTime = 60 * 10 + random.nextInt(30);
        }
示例#2
0
        public Spark(AirWizard owner, double xa, double ya)
        {
            this.owner = owner;
            xx         = this.x = owner.x;
            yy         = this.y = owner.y;
            xr         = 0;
            yr         = 0;

            this.xa = xa;
            this.ya = ya;

            lifeTime = 60 * 10 + random.nextInt(30);
        }