Sha256: e8db363a637ed60ec8179c7457c78319018fecdbe84bd73f4da2e68bb8ba1f29
Contents?: true
Size: 1.84 KB
Versions: 1
Compression:
Stored size: 1.84 KB
Contents
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>new (GGLib::FadeScreen)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> <pre><span class="ruby-comment cmt"># File state.rb, line 69</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">fadeTo</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">speed</span>=<span class="ruby-value">1</span>) <span class="ruby-identifier">$faded</span>=<span class="ruby-keyword kw">false</span> <span class="ruby-ivar">@image</span>=<span class="ruby-constant">Gosu</span><span class="ruby-operator">::</span><span class="ruby-constant">Image</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">$window</span>, <span class="ruby-identifier">$gglroot</span><span class="ruby-operator">+</span><span class="ruby-value str">"/media/black.bmp"</span>, <span class="ruby-keyword kw">true</span>) <span class="ruby-ivar">@fading</span>=<span class="ruby-keyword kw">false</span> <span class="ruby-ivar">@speed</span>=<span class="ruby-identifier">speed</span> <span class="ruby-ivar">@fadeTo</span>=<span class="ruby-identifier">fadeTo</span> <span class="ruby-ivar">@color</span>=<span class="ruby-constant">Gosu</span><span class="ruby-operator">::</span><span class="ruby-constant">Color</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">0xffffffff</span>) <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gglib-1.3.0 | doc/classes/GGLib/FadeScreen.src/M000222.html |