JDTractorItem Class Reference
Represents a tractor item used for enumerating tractors in the tractor list.
More...
List of all members.
Detailed Description
Represents a tractor item used for enumerating tractors in the tractor list.
Member Function Documentation
- (NSString *) getImageName |
|
|
|
|
get the name of the image for the tractor
- Returns:
- string of the image name in the resources of the app
- (NSString *) getTractorName |
|
|
|
|
get the name of the tractor
- Returns:
- name of the tractor from xml
Creates a new instance by making a copy of an old one
- Parameters:
-
- Returns:
- a new JDTractorItem
- (void) setImageName: |
|
(NSString *) |
image |
|
|
Set the image to use for this tractor
- Parameters:
-
| imageName | name of the image (defined in in xml) must be in the apps resources |
- (void) setTractorName: |
|
(NSString *) |
name |
|
|
Set the name of the tractor
- Parameters:
-
| tractorName | name of the tractor (from xml) |
The documentation for this class was generated from the following files: