class FeelingTheSunset {
|
FeelingTheSunset() {
|
LandScape landscape = setLandScape();
Atmosphere air = setAtmosphere();
Sun sun = new SunSet();
Sky sky = setSky();
Love myGirl = Me.getMyLove(); while(sun.isAvailable){
|
sun.rotation++;
sky.sunEffect(sun, “orange”, “pink”);
Me.Keep(“Hug”, myGirl);
Feeling.Share(Me, myGirl); |
} |
} |
|
LandScape setLandScape() {
|
Sand sand = new Sand(“fine”, “white”);
Tree palm = new PalmTree(“Braeha edulis”);
Sea sea = new Sea(“clear”, “blue”, “green”);
LandScape landScape = new LandScape();
landScape.add(sand);
landScape.add(palm);
landScape.add(sea);
return landScape; |
} |
|
Atmosphere setAtmosphere(){
|
Atmosphere air = new Atmosphere();
air.heat = 26°;
air.humidity = 30%;
air.wind = 8km/h;
air.smell = Smell.salt;
return air; |
} |
|
Sky setSky(){
|
Sky sky = new Sky();
Cloud cirrus = new Fribratus(“cirrus”);
cirrus.density = 23%;
Cloud cirros = new Fribratus(“cirrostratus”);
cirros.density = 7%;
Bird seagull = new Bird(“seagull”);
sky.add(cirrus);
sky.add(cirros);
sky.add(seagull);
return sky; |
} |
} |
Cet article a été publié
le Lundi 20 avril 2009 à 19:59 et est classé dans programmation, works, dérive, art, reflection, recherche.