Sha256: e6ec0f690443a94123e701cc579b360339661adb3539b8fbcf8fbe17ac64b8f8

Contents?: true

Size: 1.84 KB

Versions: 2

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 gglib/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">&quot;/media/black.bmp&quot;</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

2 entries across 2 versions & 1 rubygems

Version Path
gglib-1.2.1 lib/doc/classes/GGLib/FadeScreen.src/M000227.html
gglib-1.3.0 doc/classes/GGLib/FadeScreen.src/M000227.html