- Haxeとは
- 開発環境の構築
- プロジェクトの作成
- hxml
- スタートアップクラス
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Main { | |
static function main() { | |
var speakers = shuffle([ | |
"@terurou", | |
"@mzp", | |
"@kyon_mm", | |
"@bleis", | |
"@otf", | |
"@htid46", | |
"@zakky_dev", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Main { | |
static function main() { | |
var speakers = shuffle([ | |
"aster_ism", | |
"sqm8", | |
"けきょ", | |
"niccolli", | |
"y_taka_23", | |
"mzp", | |
"maeda_", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ; | |
class ArrayTools { | |
public static function shuffle<T>(arr : Array<T>) : Array<T> { | |
var i = arr.length; | |
while (i > 0) { | |
var j = Std.random(i); | |
var tmp = arr[--i]; | |
arr[i] = arr[j]; | |
arr[j] = tmp; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
// Ui.tt - Qt ui file compilation tool for T4 Template - | |
// This tool compiles all Qt ui files that exists in the same directory. | |
// ---------------------------------------------------------------------------- | |
// Copyright 2013 terurou (terurou at gmail.com) | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining | |
// a copy of this software and associated documentation files (the | |
// "Software"), to deal in the Software without restriction, including | |
// without limitation the rights to use, copy, modify, merge, publish, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ; | |
class ArrayTools { | |
public static function shuffle<T>(arr : Array<T>) : Array<T> { | |
var i : Int = arr.length; | |
while (i > 0) { | |
var j = Std.random(i); | |
var tmp = arr[--i]; | |
arr[i] = arr[j]; | |
arr[j] = tmp; |
NewerOlder