Coverage Summary for Class: PowerUpOperation (com.mygdx.game.PowerUps)
Class |
Class, %
|
Method, %
|
Line, %
|
PowerUpOperation |
100%
(1/1)
|
100%
(1/1)
|
100%
(6/6)
|
1 package com.mygdx.game.PowerUps;
2
3 /**
4 * // Assessment 2 addition //
5 * For PowerUp requirement
6 */
7 public enum PowerUpOperation {
8 /**
9 * Replace the key value with a new value.
10 */
11 replace, // 0
12
13 /**
14 * Increment the key value by an amount.
15 */
16 increment, // 1
17
18 /**
19 * Decrement the key value by an amount.
20 */
21 decrement, // 2
22
23 /**
24 * Multiply the key value by an amount.
25 */
26 multiply, // 3
27
28 /**
29 * Divide the key value by an amount.
30 */
31 divide // 4
32 }