GBA::Reg::BGCNT
Inherits GBA::Reg::Base16 < BitField < Reference < Object
Constants
FIELDS = [{priority, T, 2, false, false}, {character_base_block, T, 2, false, false}, {not_used, T, 2, false, false}, {mosaic, Bool, 1, false, false}, {color_mode_8bpp, Bool, 1, false, false}, {screen_base_block, T, 5, false, false}, {affine_wrap, Bool, 1, false, true}, {screen_size, T, 2, false, false}] of Tuple(String, Crystal::Macros::Path, Int32, Bool, Bool)
SIZE = 16
Constructors
new(value : T)
Instance methods
==(other : self)
Returns true if this reference is the same as other. Invokes same?.
affine_wrap
character_base_block
character_base_block=(val : T) : Nil
color_mode_8bpp
hash(hasher)
See Object#hash(hasher)
mosaic
not_used
not_used=(val : T) : Nil
priority
priority=(val : T) : Nil
screen_base_block
screen_base_block=(val : T) : Nil
screen_size
screen_size=(val : T) : Nil
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>
value
value=(value : T)