set window title
This commit is contained in:
parent
9974bf611b
commit
ea5322a96b
3
.vim/coc-settings.json
Normal file
3
.vim/coc-settings.json
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"haxe.hxml": "hl.hxml"
|
||||||
|
}
|
51
hxformat.json
Normal file
51
hxformat.json
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
{
|
||||||
|
"wrapping": {
|
||||||
|
"arrayWrap": {
|
||||||
|
"defaultWrap": "onePerLine",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"cond": "totalItemLength <= n",
|
||||||
|
"value": 50
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "noWrap"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"methodChain": {
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"cond": "itemCount >= n",
|
||||||
|
"value": 3
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "onePerLine"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"callParameter": {
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"cond": "itemCount >= n",
|
||||||
|
"value": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cond": "totalItemLength >= n",
|
||||||
|
"value": 50
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "onePerLine"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"indentation": {
|
||||||
|
"character": " "
|
||||||
|
}
|
||||||
|
}
|
|
@ -2,6 +2,7 @@ import tink.color.Color;
|
||||||
import h2d.Tile;
|
import h2d.Tile;
|
||||||
import h2d.Bitmap;
|
import h2d.Bitmap;
|
||||||
import hxd.BitmapData;
|
import hxd.BitmapData;
|
||||||
|
import hxd.Window;
|
||||||
|
|
||||||
using StringTools;
|
using StringTools;
|
||||||
|
|
||||||
|
@ -13,6 +14,7 @@ class Main extends hxd.App {
|
||||||
var hue:Float;
|
var hue:Float;
|
||||||
|
|
||||||
override function init() {
|
override function init() {
|
||||||
|
Window.getInstance().title = "rainbowant";
|
||||||
map = new BitmapData(s2d.width, s2d.height);
|
map = new BitmapData(s2d.width, s2d.height);
|
||||||
ant = new Ant(s2d.width, s2d.height);
|
ant = new Ant(s2d.width, s2d.height);
|
||||||
bitmap = new Bitmap(tile = Tile.fromBitmap(map), s2d);
|
bitmap = new Bitmap(tile = Tile.fromBitmap(map), s2d);
|
||||||
|
|
Loading…
Reference in a new issue