flash on 2010-2-23
セブンのチーズブールが美味すぎてつい…
♥0 |
Line 35 |
Modified 2010-02-23 23:45:10 |
MIT License
archived:2017-03-20 16:29:29
ActionScript3 source code
/**
* Copyright matacat ( http://wonderfl.net/user/matacat )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/4JF6
*/
// セブンのチーズブールが美味すぎてつい…
package
{
import flash.display.Sprite;
import flash.text.TextField;
import flash.text.TextFieldAutoSize;
public class CheeseBouleIsDelicious extends Sprite
{
public function CheeseBouleIsDelicious()
{
var tf:TextField = new TextField();
tf.autoSize = TextFieldAutoSize.LEFT;
addChild(tf);
var a:CheeseBool = cheese;
var b:CheeseBool = butter;
if (a) tf.appendText("Cheese Boule ");
if (b) tf.appendText("isn't ");
if (new CheeseBoule is delicious) tf.appendText("is ");
if (new CheeseBool is nonsense) tf.appendText("delicious!!");
}
private const cheese:CheeseBool = new CheeseBool();
private const butter:CheeseBool = null;
}
}
class nonsense
{
}
class CheeseBool extends nonsense
{
}
class delicious
{
}
class CheeseBoule extends delicious
{
}