Skip to content
This repository was archived by the owner on Oct 31, 2019. It is now read-only.

Assignment II_Submission_!#13

Open
THoneychurch wants to merge 1 commit intomasterfrom
Tristan
Open

Assignment II_Submission_!#13
THoneychurch wants to merge 1 commit intomasterfrom
Tristan

Conversation

@THoneychurch
Copy link
Copy Markdown
Collaborator

SWWorld
* Added C-3PO
* Icon set [ ^ ]
* Team.GOOD; Added hit points 200; MessageRenderer, boolean isimmobile
* Added R2-D2
* Icon set [ v ]
* Team.GOOD; Added hit points 200; MessageRenderer, boolean isimmobile
* Added Path for R2-D2 ‘r2d2_patrol’
* 4 steps WEST, 4 steps EAST
* Origin [4, 5 ]
* Added canteen within Ben’s Hut (within Ben’s Patrol Path) [ 6,7 ]

  • Droid —> Created within /entities/actors/

    • Added private boolean isimmobile
    • Added private String name
      • There is a default name ‘droid’ set in the constructor
      • Added the ‘SetName’ method for individual names
        • R2-D2 & C-3PO
    • Constructor :: (team, hit points, messageRenderer, world, immobile)
    • This class is very similar to TuskenRaider
      • All descriptions are the same
    • Added method ‘setPath’ that creates the path for a droid
      • Imported path
      • Added private Patrol variable
    • Changes to the ‘isimmobile’ variable within the ‘act’ method
  • Canteen

    • Changed ‘fill’ method
      • parameter parses integer ‘fill’
      • Level = this.capacity
      • import /actions/take/
  • Oil Can

    • Created with description and limited capacity declared within constuctor
    • import /actions/take/

 *SWWorld*
	* Added C-3PO 
		* Icon set [ ^ ]
		* Team.GOOD; Added hit points 200;  MessageRenderer,  boolean isimmobile 
	* Added R2-D2
		* Icon set [ v ]
		* Team.GOOD; Added hit points 200;  MessageRenderer,  boolean isimmobile 
		* Added Path for R2-D2 ‘r2d2_patrol’
			* 4 steps WEST, 4 steps EAST
				* Origin [4, 5 ]
	* Added canteen within Ben’s Hut (within Ben’s Patrol Path) [ 6,7 ]

* *Droid* —> Created within /entities/actors/
	* Added private boolean isimmobile
	* Added private String name
		* There is a default name ‘droid’ set in the constructor 
		* Added the ‘SetName’ method for individual names
			* R2-D2 & C-3PO
	* Constructor :: (team, hit points, messageRenderer, world, immobile)
	* This class is very similar to TuskenRaider
		* All descriptions are the same
	* Added method ‘setPath’ that creates the path for a droid
		* Imported path
		* Added private Patrol variable
	* Changes to the ‘isimmobile’ variable within the ‘act’ method
		
* *Canteen*
	* Changed ‘fill’ method
		* parameter parses integer ‘fill’
		* Level = this.capacity
		* import /actions/take/

* *Oil Can*
	* Created with description and limited capacity declared within constuctor
	* import /actions/take/
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants