-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor fixes, added test file directory for easy access
- Loading branch information
Kevin Leiser
authored and
Kevin Leiser
committed
Jun 21, 2018
1 parent
b39a458
commit f4142dc
Showing
90 changed files
with
59,137 additions
and
138 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+485 Bytes
out/production/HW6/cs3500/animator/controller/AbstractController.class
Binary file not shown.
Binary file added
BIN
+1.71 KB
out/production/HW6/cs3500/animator/controller/ControllerFactory.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+2.45 KB
out/production/HW6/cs3500/animator/controller/InteractiveController.class
Binary file not shown.
Binary file added
BIN
+890 Bytes
out/production/HW6/cs3500/animator/model/animation/AbstractChange$1.class
Binary file not shown.
Binary file added
BIN
+3.66 KB
out/production/HW6/cs3500/animator/model/animation/AbstractChange.class
Binary file not shown.
Binary file added
BIN
+7.09 KB
out/production/HW6/cs3500/animator/model/animation/AnimatedShapeImpl.class
Binary file not shown.
Binary file added
BIN
+4.15 KB
out/production/HW6/cs3500/animator/model/animation/AnimationModelImpl$Builder.class
Binary file not shown.
Binary file added
BIN
+5.84 KB
out/production/HW6/cs3500/animator/model/animation/AnimationModelImpl.class
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+750 Bytes
out/production/HW6/cs3500/animator/model/animation/IAnimatedShape.class
Binary file not shown.
Binary file added
BIN
+836 Bytes
out/production/HW6/cs3500/animator/model/animation/IAnimationModel.class
Binary file not shown.
Binary file added
BIN
+1.21 KB
out/production/HW6/cs3500/animator/model/animation/IChange$ChangeType.class
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.36 KB
out/production/HW6/cs3500/animator/model/animation/TimeDomainChangeImpl.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+408 Bytes
out/production/HW6/cs3500/animator/util/AbstractDrawableShape.class
Binary file not shown.
Binary file added
BIN
+889 Bytes
out/production/HW6/cs3500/animator/util/AnimatedShapeToDrawableConverter$1.class
Binary file not shown.
Binary file added
BIN
+4.53 KB
out/production/HW6/cs3500/animator/util/AnimatedShapeToDrawableConverter.class
Binary file not shown.
Binary file added
BIN
+3.13 KB
out/production/HW6/cs3500/animator/util/AnimationFileReader$ChangeColorInfo.class
Binary file not shown.
Binary file added
BIN
+1.37 KB
out/production/HW6/cs3500/animator/util/AnimationFileReader$Inputable.class
Binary file not shown.
Binary file added
BIN
+2.5 KB
out/production/HW6/cs3500/animator/util/AnimationFileReader$MoveInfo.class
Binary file not shown.
Binary file added
BIN
+1.74 KB
out/production/HW6/cs3500/animator/util/AnimationFileReader$OvalInfo.class
Binary file not shown.
Binary file added
BIN
+1.73 KB
out/production/HW6/cs3500/animator/util/AnimationFileReader$RectangleInfo.class
Binary file not shown.
Binary file added
BIN
+2.71 KB
out/production/HW6/cs3500/animator/util/AnimationFileReader$ScaleByInfo.class
Binary file not shown.
Binary file added
BIN
+2.22 KB
out/production/HW6/cs3500/animator/util/AnimationFileReader$ShapeInfo.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,21 @@ | ||
Most of our new model was adopted from Dan's original model with some minor changes. These | ||
changes include: | ||
- Changed shapes HashMap to use strings as the key rather than an int. This is the proper | ||
way to ID shapes. | ||
- Changed cs3500.animator.model.shapes HashMap to use strings as the key rather than an int. This is the proper | ||
way to ID cs3500.animator.model.shapes. | ||
- Adopted shapeType from Kevin's model to label each shape object as a shape. | ||
This lets controller determine what kind of shape it is working with so it knows which | ||
geometry shape to create as a result. | ||
- Implemented Kevin's getShapes method to return array of shapes that will need to be viewed | ||
- Implemented Kevin's getShapes method to return array of cs3500.animator.model.shapes that will need to be viewed | ||
in the views | ||
- Stored changes in AnimatedShapeImpl as ArrayList instead of List since it is only used as an | ||
ArrayList and this class is not an abstraction of any other class. | ||
- Added method to retrieve changes a shape is going to undergo in the animation in | ||
- Added method to retrieve changes a shape is going to undergo in the cs3500.animator.model.animation in | ||
AnimatedShapeImpl class. | ||
- Added name property in abstract shape class since each shape has a name. | ||
Shape constructors now passes name as a parameter. | ||
- Added getName function to shape class to use for text outputs. | ||
- Changed signature of getShapesAt(...) function in model to return IAnimatedShapes rather | ||
than a normal IShape since calling controller functions need cs3500.animator.model.animation details, | ||
not just the shape. | ||
- Added a getLastFrame() function to model to determine how long the cs3500.animator.model.animation | ||
needs to run for. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
The following changes were made to our code from the previous assignment: | ||
- Added functions of all views to IView and make unsupported functions throw | ||
UnsupportedOperationException's. |
Oops, something went wrong.