<commit_before>package haxepunk;

import flash.display.Bitmap;
import flash.display.Sprite;
import flash.filters.BitmapFilter;
import flash.geom.Matrix;
import haxepunk.graphics.atlas.Atlas;
import haxepunk.graphics.atlas.Renderer;
import haxepunk.screen.ScaleMode;

/**
 * Container for the main screen buffer. Can be used to transform the screen.
 * To be used through `HXP.screen`.
 */
@:allow(haxepunk.screen)
class Screen
{
	/**
	 * Controls how the game scale changes when the window is resized.
	 */
	public var scaleMode:ScaleMode = new ScaleMode();

	/**
	 * For hardware rendering.
	 */
	public var renderer:Renderer = new Renderer();

	/**
	 * Constructor.
	 */
	@:allow(haxepunk)
	function new()
	{
		_sprite = new Sprite();
		_bitmap = new Array<Bitmap>();

		x = y = 0;
		_current = 0;
		scale = scaleX = scaleY = 1;<commit_msg>Missing Image import in Screen<commit_after>package haxepunk;

import flash.display.Bitmap;
import flash.display.Sprite;
import flash.filters.BitmapFilter;
import flash.geom.Matrix;
import haxepunk.graphics.atlas.Atlas;
import haxepunk.graphics.atlas.Renderer;
import haxepunk.graphics.Image;
import haxepunk.screen.ScaleMode;

/**
 * Container for the main screen buffer. Can be used to transform the screen.
 * To be used through `HXP.screen`.
 */
@:allow(haxepunk.screen)
class Screen
{
	/**
	 * Controls how the game scale changes when the window is resized.
	 */
	public var scaleMode:ScaleMode = new ScaleMode();

	/**
	 * For hardware rendering.
	 */
	public var renderer:Renderer = new Renderer();

	/**
	 * Constructor.
	 */
	@:allow(haxepunk)
	function new()
	{
		_sprite = new Sprite();
		_bitmap = new Array<Bitmap>();

		x = y = 0;
		_current = 0;
		scale = scaleX = scaleY = 1;
{'fraction_non_alphanumeric': 0.120600115406809, 'fraction_numerical': 0.003462204270051933, 'mean_word_length': 3.857142857142857, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1310665', 'n_tokens_mistral': 606, 'n_tokens_neox': 568, 'n_words': 165}