Implement in-game sidebars
This commit is contained in:
		
							
								
								
									
										21
									
								
								src/main/java/gg/malloc/defense/engine/StaticProgress.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								src/main/java/gg/malloc/defense/engine/StaticProgress.java
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
package gg.malloc.defense.engine;
 | 
			
		||||
 | 
			
		||||
import gg.malloc.defense.model.Progress;
 | 
			
		||||
 | 
			
		||||
public class StaticProgress implements Progress {
 | 
			
		||||
  int m_value;
 | 
			
		||||
  int m_maximum;
 | 
			
		||||
 | 
			
		||||
  public StaticProgress(int value, int maximum) {
 | 
			
		||||
    m_value = value;
 | 
			
		||||
    m_maximum = maximum;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  public int value() {
 | 
			
		||||
    return m_value;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  public int maximum() {
 | 
			
		||||
    return m_maximum;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user