Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.wildwitchproject.rpgframework.logger
- {
- import spark.components.TextArea;
- /**
- * ...
- * @author Bitetti
- */
- public class LogManager
- {
- static private var _txt:TextArea;
- public function LogManager()
- {
- throw new Error("No no no!");
- }
- static public function set textUI( t:TextArea ):void
- {
- _txt = t;
- }
- static public function set message( t:String ):void
- {
- try
- {
- _txt.appendText(t + "\n");
- trace( "LOG: " + t );
- }
- catch ( e:Error )
- {
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment