Dog and Bone are friends / src / net / dai5ychain / dogandbone / HudLayer.as

package net.dai5ychain.dogandbone {
    import org.flixel.*;
    
    public class HudLayer extends FlxLayer {
        public var help_text:FlxText;
        public var mute_text:FlxText;        

        private var _width:uint;
        private var _height:uint;
        
        public function HudLayer():void {
            super();
            
            scrollFactor.x = 0;
            scrollFactor.y = 0;

            _width = FlxG.width;
            _height = 32;

            x = 0;
            y = (FlxG.height - _height);

            var background_block:ColorBlock = new ColorBlock(0x000000, x, y, _width, _height)
            
            add(background_block);
            
            help_text = new FlxText(10,10,_width,"");
            help_text.setFormat("", 12);
            add(help_text, true);

            mute_text = new FlxText(500,10,140,"");
            mute_text.setFormat("", 12, 0xffaaaaaa);
            add(mute_text, true);
        }
    }
}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.