-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFliessband.java
35 lines (30 loc) · 948 Bytes
/
Fliessband.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/**
* Klasse FLiessband.
*
* @author [email protected]
*
* @version 4.0 (2018-08-07)
*/
public class Fliessband
{
private ea.edu.Rechteck fliessband_1;
private ea.edu.Rechteck fliessband_2;
/**
* Konstruktor der Klasse Fliessband
*/
public Fliessband()
{
this.fliessband_1 = new ea.edu.Rechteck( 500 , 10 );
this.fliessband_1.setzeFarbe( "gelb" );
this.fliessband_1.drehen( (float)Math.toRadians(-10) );
this.fliessband_1.setzeMittelpunkt( -310, 207 );
this.fliessband_1.setLayer( 1 );
this.fliessband_1.machePassiv();
this.fliessband_2 = new ea.edu.Rechteck( 10 , 40 );
this.fliessband_2.drehen( (float)Math.toRadians(-10) );
this.fliessband_2.setzeFarbe( "gelb" );
this.fliessband_2.setzeMittelpunkt( -56 , 179 );
this.fliessband_2.setLayer( 1 );
this.fliessband_2.machePassiv();
}
}