CannonGame.Cannon.Fire C# (CSharp) 메소드

Fire() 공개 메소드

public Fire ( Ball ball ) : void
ball Ball
리턴 void
        public void Fire(Ball ball)
        {
            ball.Position = this.Position;
            ball.Velocity = this.Direction*10;
            ball.Enabled = true;
            hasShot = true;
        }