Willem Melching
/
bootje_v4
invoer/vaantje.cpp@0:bec310bde899, 2011-09-27 (annotated)
- Committer:
- pd0wm
- Date:
- Tue Sep 27 19:46:30 2011 +0000
- Revision:
- 0:bec310bde899
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pd0wm | 0:bec310bde899 | 1 | #include "vaantje.h" |
pd0wm | 0:bec310bde899 | 2 | |
pd0wm | 0:bec310bde899 | 3 | Vaantje::Vaantje(){ |
pd0wm | 0:bec310bde899 | 4 | hoek = 180; |
pd0wm | 0:bec310bde899 | 5 | } |
pd0wm | 0:bec310bde899 | 6 | |
pd0wm | 0:bec310bde899 | 7 | int Vaantje::get(void){ |
pd0wm | 0:bec310bde899 | 8 | return hoek; |
pd0wm | 0:bec310bde899 | 9 | } |
pd0wm | 0:bec310bde899 | 10 | |
pd0wm | 0:bec310bde899 | 11 | void Vaantje::set(int h){ |
pd0wm | 0:bec310bde899 | 12 | hoek = h; |
pd0wm | 0:bec310bde899 | 13 | } |
pd0wm | 0:bec310bde899 | 14 |