Example #1
0
    public void drawBullet(Bullet theBullet)
    {
        gameCanvas.Children.Add(theBullet.getBulletShape());

        TranslateTransform initialTransform = new TranslateTransform(theBullet.getBulletX(), theBullet.getBulletY());
        theBullet.getBulletShape().RenderTransform = initialTransform;
    }