+/*************************************************
+* ScalaSDL
+*
+* /|/|
+* (- - )
+* ( )~
+*
+* RoNor
+* ronor.u@gmail.com
+* -----------------------------------------------
+* SDL_structs.scala
+* SDLで用意されている構造体をクラスに置き換えたものです。
+*
+* 参考資料
+* http://www.libsdl.org/cgi/docwiki.cgi/SDL_API
+*************************************************/
+
package sdl {
class Version {
var major:Int = 0
var g:Int = 0
var b:Int = 0
var unused:Int = 0
-
- def setR(_r:Int):Unit = r = _r
- def setG(_g:Int):Unit = g = _g
- def setB(_b:Int):Unit = b = _b
}
class Rect {