abstract class Game::Shape
  
  
    
  
    Direct Known Subclasses
  
  
  
    
  
    Defined in:
  
  
    
      
        game/shapes/shape.cr
      
    
    
  
  
    
      
  
      Constant Summary
    
  
  
    
      - 
        FILLED = 
true
       
      
    
  
  
    
  
    Constructors
  
  
  
    
  
    Instance Method Summary
  
  
  
    
    
    
    
  
    
    
    
    
  
  
    
  
    Constructor Detail
  
  
    
      
        
        def self.
new(color, filled : Bool = 
FILLED)
        
#
       
      
      
      
     
  
  
    
  
    Instance Method Detail
  
  
    
  
    
  
    
      
        
        def 
draw(image : 
Image, parent_x = 
0, parent_y = 
0)
        
#
       
      
      
      
     
  
    
      
        
        def 
draw(parent_x = 
0, parent_y = 
0)
        
#
       
      
      
      
     
  
    
      
        
        def 
draw_filled(image : 
Image, parent_x = 
0, parent_y = 
0)
        
#
       
      
      
      
     
  
    
      
        
        def 
draw_filled(parent_x = 
0, parent_y = 
0)
        
#
       
      
      
      
     
  
    
      
        
        def 
draw_outlined(image : 
Image, parent_x = 
0, parent_y = 
0)
        
#
       
      
      
      
     
  
    
      
        
        def 
draw_outlined(parent_x = 
0, parent_y = 
0)
        
#
       
      
      
      
     
  
    
      
        
        def 
filled=(filled : Bool)
        
#
       
      
      
      
     
  
    
  
    
  
    
  
    
      
        
        def 
update(_frame_time)
        
#