aboutsummaryrefslogtreecommitdiff
path: root/Week4 Drawing loipes/src/oo15loipe/InfoLoipe.java
blob: a1cf182a2bc5d441378e59936431377b6c9e3c70 (plain) (blame)
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
package oo15loipe;

/**
 * Interface for a class describing a Loipe
 * 
 * @author Camil Staps, s4498062, Thijs Heijligenberg, s4451414
 */
public interface InfoLoipe {
    
    public int getWidth( ) ; // grootte in oost􀀀west r i cht ing
    public int getHeight( ) ; // grootte in noord􀀀zuid r i cht ing
    
    /**
     * Get the fragment at position (x, y)
     * 
     * @param x
     * @param y
     * @return 
     */
    public Fragment getFragment( int x, int y) ; // fragment van de loipe op po s i t i e (x , y)
    
    /**
     * Get the first position of the loipe
     * 
     * @return 
     */
    public Punt start( ) ; // Het startpunt op de kaart
    
    /**
     * Get the next position in the loipe
     * @return 
     */
    public Punt stap( ) ; // het volgende punt op de route
}