Skip to content
Snippets Groups Projects
PortaatYlosAlas.cs 916 B
Newer Older
Vesa Lappalainen's avatar
Vesa Lappalainen committed
using Jypeli;
namespace PortaatYlosAlas;

public class PortaatYlosAlas : PhysicsGame
{
    const double LAATIKON_KOKO = 80;
    // BYCODEBEGIN
    public override void Begin()
    {
        Level.Background.Color = Color.Black;
        Vector piste = new Vector(0, 0);
        // Poista rivien alusta kommenttimerkit
        // piste = PiirraLaatikko(this, piste);
        // piste = PiirraLaatikko(this, piste);
        // piste = PiirraLaatikko(this, piste);
        // piste -= new Vector(0,LAATIKON_KOKO);
        // piste = PiirraLaatikkoAlas(this,piste);
        // piste = PiirraLaatikkoAlas(this,piste);
        PhysicsObject pallo = new PhysicsObject(5, 5, Shape.Circle);
        Add(pallo, 1);
        pallo.Color = Color.Red;
        Camera.ZoomToAllObjects(100);
    }

    // TODO: Kopioi tähän edellisen tehtävän PiirraLaatikko
    // TODO: Jatka tekemällä PiirraLaatikkoAlas

    // BYCODEEND

}