class Glint::Pixel
- Glint::Pixel
 - Glint::GameObject
 - Reference
 - Object
 
Overview
A pixel.
Defined in:
glint/game_object/pixel.crConstructors
- 
        .new(position : Position, color : Color)
        
          
Creates a
Pixel. 
Class Method Summary
- 
        .draw(x : Number, y : Number, color : Color)
        
          
Draws a
Pixel. - 
        .draw(position : Position, color : Color)
        
          
Draws a
Pixel. 
Instance Method Summary
- 
        #color : Color
        
          
The
Pixel's color. - 
        #color=(color : Color)
        
          
The
Pixel's color. - 
        #draw
        
          
Draws the
Pixel. 
Instance methods inherited from class Glint::GameObject
  
  
    
      <<(other : GameObject)
    <<, 
    
  
    
      can_update?
    can_update?, 
    
  
    
      children : Array(GameObject)
    children, 
    
  
    
      delete(other : GameObject)
    delete, 
    
  
    
      draw
    draw, 
    
  
    
      draw_above_children : Bool
    draw_above_children, 
    
  
    
      draw_above_children=(draw_above_children : Bool)
    draw_above_children=, 
    
  
    
      draw_at(position)
    draw_at, 
    
  
    
      draw_children : Bool
    draw_children, 
    
  
    
      draw_children=(draw_children : Bool)
    draw_children=, 
    
  
    
      draw_position : DrawPosition
    draw_position, 
    
  
    
      draw_position=(draw_position : DrawPosition)
    draw_position=, 
    
  
    
      extents : Dimension
    extents, 
    
  
    
      game : Game | Nil
    game, 
    
  
    
      game=(game : Game | Nil)
    game=, 
    
  
    
      has?(other : GameObject)
    has?, 
    
  
    
      parent : GameObject | Game | Nil
    parent, 
    
  
    
      parent=(parent : GameObject | Game | Nil)
    parent=, 
    
  
    
      pivot : Origin
    pivot, 
    
  
    
      pivot=(pivot : Origin)
    pivot=, 
    
  
    
      position : Glint::Vector2
    position, 
    
  
    
      position=(position : Glint::Vector2)
    position=, 
    
  
    
      rotation : Float64
    rotation, 
    
  
    
      rotation=(rotation : Float64)
    rotation=, 
    
  
    
      update(delta)update(delta, &) update, update_mode : UpdateMode update_mode, update_mode=(update_mode : UpdateMode) update_mode=, visible : Bool visible, visible=(visible : Bool) visible=